Skip to content

Commit

Permalink
Initial fix reported issues #420, to be reviewed by others
Browse files Browse the repository at this point in the history
  • Loading branch information
hollie committed Aug 18, 2014
1 parent d2ec91f commit 5e14a46
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion code/common/mh_release.pl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
=cut

use JSON qw( decode_json );
use JSON::PP; # qw( decode_json );

# noloop=start
my $mhdl_url = "https://api.github.com/repos/hollie/misterhouse/tags";
Expand Down Expand Up @@ -101,6 +101,8 @@ sub calc_age {

if (done_now $p_mhdl_page) {
my @html = file_read($mhdl_file);
#print Dumper(@html);
#print "Using JSON::PP module version: $JSON::PP::VERSION\n";
print_log("Download page retrieved");
my $json = decode_json( @html );
my ($mhdl_date_url, $maj, $min);
Expand Down

0 comments on commit 5e14a46

Please sign in to comment.