Revert "Only save config if value changed"
This reverts commit 47e062aa7e.
This commit is contained in:
@@ -117,8 +117,6 @@ class SimpleConfig(PrintError):
|
|||||||
return
|
return
|
||||||
|
|
||||||
with self.lock:
|
with self.lock:
|
||||||
if key in self.user_config and self.user_config[key] == value:
|
|
||||||
return
|
|
||||||
self.user_config[key] = value
|
self.user_config[key] = value
|
||||||
if save:
|
if save:
|
||||||
self.save_user_config()
|
self.save_user_config()
|
||||||
|
|||||||
Reference in New Issue
Block a user