Fixed saving defaults.json to the right location
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user