Check for gzipped files, too.
This commit is contained in:
parent
2bc5967e10
commit
d5e1e04495
|
@ -15,7 +15,8 @@ my $dbh = $ca->{dbh};
|
|||
|
||||
my $sessions = $dbh->selectcol_arrayref("select id from sessions order by id");
|
||||
for my $session_id (@$sessions) {
|
||||
next if (-f "$basedir/$session_id.tsv");
|
||||
next if (-f "$basedir/$session_id.tsv"
|
||||
|| -f "$basedir/$session_id.tsv.gz");
|
||||
$ca->log(3, "exporting session $session_id");
|
||||
my $sth
|
||||
= $dbh->prepare(
|
||||
|
|
Loading…
Reference in New Issue