Fixed saving defaults.json to the right location

This commit is contained in:
jpcaram 2014-12-12 13:40:14 -05:00
parent ac667682b3
commit d15d768f3e
1 changed files with 2 additions and 2 deletions

View File

@ -856,7 +856,7 @@ class App(QtCore.QObject):
# Save update options
try:
f = open("defaults.json", "w")
f = open(self.data_path + "/defaults.json", "w")
json.dump(defaults, f)
f.close()
except:
@ -2442,4 +2442,4 @@ class App(QtCore.QObject):
#
#
# if __name__ == '__main__':
# main()
# main()