summaryrefslogtreecommitdiff
path: root/rhimport-wr
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-06-02 14:33:21 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-06-02 14:33:21 (GMT)
commit344cd83278adf1da7ef3dfb31731ce823f36387c (patch)
treef7ee9527303ab8b6843ec51d9e3b5db1c2ca15ce /rhimport-wr
parent9373c383b78f0ed647ca6cade3c2c6d44b98b488 (diff)
added panoptikum importer
Diffstat (limited to 'rhimport-wr')
-rwxr-xr-xrhimport-wr3
1 files changed, 2 insertions, 1 deletions
diff --git a/rhimport-wr b/rhimport-wr
index 2fd1089..0742586 100755
--- a/rhimport-wr
+++ b/rhimport-wr
@@ -105,7 +105,8 @@ print "day of latest original broadcast before next Radio Helsinki broadcast: "
if(Date::Calc::Delta_Days(@broadcast_date, @today) <= 0) {
print "File won't be available by now!\n";
- exit 42;
+ $dbh->disconnect();
+ exit 0;
}
my $id = sprintf("%04d-%02d-%02d", @import_date);