summaryrefslogtreecommitdiff
path: root/rhimport-rs
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2013-02-21 14:24:06 (GMT)
committerChristian Pointner <equinox@helsinki.at>2013-02-21 14:24:06 (GMT)
commitc71a013af3f961195ce94ac0f2d2eb6285311f62 (patch)
tree4d653f4aa9a79fb47c43fae649d00c99f16ac6b3 /rhimport-rs
parent206a1b98bce0c0e4fa4936805aa88258a3c1fb8e (diff)
updated radio attac for new cba
Diffstat (limited to 'rhimport-rs')
-rwxr-xr-xrhimport-rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/rhimport-rs b/rhimport-rs
index f78fbb7..322d6fc 100755
--- a/rhimport-rs
+++ b/rhimport-rs
@@ -139,7 +139,6 @@ my $feed = XML::Feed->parse(URI->new($RSS_URL))
my $file = "";
my $out_file = "";
-
my $i = 0;
for my $entry ($feed->entries) {
$i++;
@@ -180,8 +179,8 @@ for my $entry ($feed->entries) {
last;
}
- last if $file != "";
}
+ last if $file ne "";
}
if($file eq "" || !(-e "$file")) {