fix multiple configuration switch
This commit is contained in:
parent
d4995301ca
commit
cce8bf0f76
@ -59,7 +59,7 @@ class Config(object):
|
|||||||
self.data.update(data)
|
self.data.update(data)
|
||||||
with open(self.path, 'w', encoding='utf-8') as f:
|
with open(self.path, 'w', encoding='utf-8') as f:
|
||||||
json.dump(
|
json.dump(
|
||||||
self.data, f, indent=4, sort_keys=True, ensure_ascii=False)
|
self.data, f, indent=4, ensure_ascii=False)
|
||||||
f.close()
|
f.close()
|
||||||
runHook('config.update')
|
runHook('config.update')
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user