Mercurial > repos > iuc > datatyp_json
diff json.py @ 1:a37d92dc7fd2 draft
Uploaded
author | iuc |
---|---|
date | Mon, 28 Jul 2014 03:38:39 -0400 |
parents | 3b76639ad0bb |
children |
line wrap: on
line diff
--- 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 ): """