summaryrefslogtreecommitdiff
path: root/rhimport-dn
diff options
context:
space:
mode:
Diffstat (limited to 'rhimport-dn')
-rwxr-xr-xrhimport-dn4
1 files changed, 2 insertions, 2 deletions
diff --git a/rhimport-dn b/rhimport-dn
index dac3a0d..b6847e1 100755
--- a/rhimport-dn
+++ b/rhimport-dn
@@ -84,7 +84,7 @@ for my $href ( @allowed_dbs ) {
my $dow = Date::Calc::Day_of_Week(@import_day);
if ($dow == int(substr($href->{'NAME'},0,2))) {
$dropbox = $href->{'PATH'};
- $to_cart = $href->{'TO_CART'};
+ $to_cart = $href->{'TO_CART'};
}
}
@@ -109,7 +109,7 @@ for my $entry ($files_feed->entries) {
if($entry->enclosure && $entry->enclosure->type eq "audio/mpeg") {
if($entry->enclosure->url =~ /^http:\/\/distro.democracynow.org\/dn([0-9-]+)-1\.mp3$/) {
next if($yc ne $1);
-
+
my $ff = File::Fetch->new(uri => $entry->enclosure->url);
my $current_file = `cat $STAT_FILE`;