mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 08:38:20 +08:00
Add: CLI options to start web server
- Opt: Update user config when reading, which is able to change events to the latest
This commit is contained in:
@@ -366,7 +366,9 @@ class ConfigUpdater:
|
||||
|
||||
@timer
|
||||
def update_config(self, config_name):
|
||||
write_file(filepath_config(config_name), self.read_file(config_name))
|
||||
data = self.read_file(config_name)
|
||||
write_file(filepath_config(config_name), data)
|
||||
return data
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Reference in New Issue
Block a user