summaryrefslogtreecommitdiff
path: root/rhimport-dn
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2014-01-03 18:46:57 (GMT)
committerChristian Pointner <equinox@helsinki.at>2014-01-03 18:46:57 (GMT)
commit130f073f6f66a51675d4b2371b5a11871bbfdea7 (patch)
tree3286541716c2de7200327c2e4f6c2835b499911d /rhimport-dn
parentdd2fb9bccf777c693a574e4a34a2d69a92cc54e8 (diff)
whitespace cleanup
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`;