# HG changeset patch # User iuc # Date 1406533119 14400 # Node ID a37d92dc7fd2dfe10ee392a90b95081cd3a85b34 # Parent 3b76639ad0bbed47af82ba1e7e55889724208a47 Uploaded diff -r 3b76639ad0bb -r a37d92dc7fd2 json.py --- a/json.py Mon Jul 28 02:48:36 2014 -0400 +++ b/json.py Mon Jul 28 03:38:39 2014 -0400 @@ -21,10 +21,10 @@ Try to load the string with the json module. If successful it's a json file. """ try: - json.load( filename ) + json.load( open(filename) ) return True except: - return False + return True def set_meta( self, dataset, **kwd ): """