summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2016-04-14 16:50:52 (GMT)
committerChristian Pointner <equinox@spreadspace.org>2016-04-14 16:50:52 (GMT)
commit33c2c787f28bff04b22ea1f35386929d4db0651d (patch)
treee690f34622590d5c7cdc40e57b5e18a111b4efc2 /lib
parent94e4a04528f0c9204fb0affc7d91ed568b4b90a7 (diff)
adapted schedule generator to changed PV export format
Diffstat (limited to 'lib')
-rwxr-xr-xlib/RHRD/utils.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/RHRD/utils.pm b/lib/RHRD/utils.pm
index d87ed70..fbc3933 100755
--- a/lib/RHRD/utils.pm
+++ b/lib/RHRD/utils.pm
@@ -128,7 +128,7 @@ sub fetch_parse_json
my $res = URI::Fetch->fetch($uri, UserAgent => $ua)
or return (0, URI::Fetch->errstr);
if($res->status == URI::Fetch::URI_GONE()) {
- return (0, "This feed has been permanently removed");
+ return (0, "This resource has been permanently removed");
}
my $json = $res->content;
@@ -140,7 +140,7 @@ sub fetch_parse_json
return (0, "error parsing import result");
};
- return (1, \$data);
+ return (1, $data);
}