Added OS-X installation instructions to manual.

This commit is contained in:
jpcaram
2014-12-27 15:12:49 -05:00
parent 6fae5258db
commit a0d6d1a6a9
5 changed files with 141 additions and 61 deletions

View File

@@ -2419,16 +2419,18 @@ class App(QtCore.QObject):
try:
f = open(filename, 'w')
except IOError:
App.log.error("[error] Failed to open file for saving:", filename)
App.log.error("[error] Failed to open file for saving: %s", filename)
return
# Write
try:
json.dump(d, f, default=to_dict)
except:
App.log.error("[error] File open but failed to write:", filename)
f.close()
return
json.dump(d, f, default=to_dict)
# try:
# json.dump(d, f, default=to_dict)
# except Exception, e:
# print str(e)
# App.log.error("[error] File open but failed to write: %s", filename)
# f.close()
# return
f.close()