changeset 15:8e13c2f6c2d7

py3
author Jeff Hammel <k0scist@gmail.com>
date Tue, 24 Nov 2020 13:13:36 -0800
parents d66c25418f43
children d0ad67182478
files toolbox/model.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/toolbox/model.py	Tue Nov 24 13:12:40 2020 -0800
+++ b/toolbox/model.py	Tue Nov 24 13:13:36 2020 -0800
@@ -228,7 +228,7 @@
                 continue
             filename = os.path.join(self.directory, i)
             try:
-                project = json.loads(file(filename).read())
+                project = json.loads(open(filename).read())
             except:
                 print('File: {}'.format(i))
                 raise