Fixed saving defaults.json to the right location
This commit is contained in:
parent
ac667682b3
commit
d15d768f3e
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue