summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrhimport-zf4
-rwxr-xr-xrhimport-zffe1
2 files changed, 2 insertions, 3 deletions
diff --git a/rhimport-zf b/rhimport-zf
index 008ebec..91bb4a0 100755
--- a/rhimport-zf
+++ b/rhimport-zf
@@ -84,7 +84,7 @@ print "day of broadcast: " . Date::Calc::Date_to_Text(@broadcast_day) . "\n";
for my $href ( @allowed_dbs ) {
if ($dow == int(substr($href->{'NAME'},0,2))) {
$dropbox = $href->{'PATH'};
- $to_cart = $href->{'TO_CART'};
+ $to_cart = $href->{'TO_CART'};
}
}
@@ -130,7 +130,7 @@ for my $entry ($feed->entries) {
} else {
rhimport::pv_add_note($sum_title, $sum_text, $PV_ID, sprintf("%04d-%02d-%02d", $broadcast_day[0], $broadcast_day[1], $broadcast_day[2]), "1");
}
- print "\n";
+ print "\n";
unlink($NOTE_FILE);
open(my $fhs, '>', $NOTE_FILE);
diff --git a/rhimport-zffe b/rhimport-zffe
index b5ebad1..ac55f46 100755
--- a/rhimport-zffe
+++ b/rhimport-zffe
@@ -51,7 +51,6 @@ my $import_date = sprintf("%04d-%02d-%02d", @import_day);
my $current_date = `cat $STAT_FILE`;
if($current_date eq $import_date) {
print "Already created note of today\n";
- $dbh->disconnect();
exit 0;
}