mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-04-19 06:17:08 +08:00
Revert "Opt: Reduce json writes when recording emotion"
This reverts commit 61e62edb
This commit is contained in:
@@ -313,9 +313,8 @@ class AzurLaneConfig(ConfigUpdater, ManualConfig, GeneratedConfig, ConfigWatcher
|
|||||||
with self.multi_set():
|
with self.multi_set():
|
||||||
for arg, value in kwargs.items():
|
for arg, value in kwargs.items():
|
||||||
record = arg.replace("Value", "Record")
|
record = arg.replace("Value", "Record")
|
||||||
if self.__getattribute__(arg) != value:
|
self.__setattr__(arg, value)
|
||||||
self.__setattr__(arg, value)
|
self.__setattr__(record, datetime.now().replace(microsecond=0))
|
||||||
self.__setattr__(record, datetime.now().replace(microsecond=0))
|
|
||||||
|
|
||||||
def multi_set(self):
|
def multi_set(self):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user