One more simplejson/json fix that slipped through the merge.

This commit is contained in:
Dannon Baker
2014-01-10 07:42:58 -05:00
parent a40457ab09
commit c1558e8205
+1 -1
View File
@@ -154,7 +154,7 @@ def json_from_url( url ):
url_handle = urllib.urlopen( url )
url_contents = url_handle.read()
try:
parsed_json = simplejson.loads( url_contents )
parsed_json = json.loads( url_contents )
except Exception, e:
error_message = str( url_contents )
print 'Error parsing JSON data in json_from_url(): ', str( e )