mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-16 04:37:44 +08:00
Fix: Delete config_name by accident
This commit is contained in:
2
gui.py
2
gui.py
@@ -371,7 +371,7 @@ class AlasGUI:
|
||||
d = self.modified_config_queue.get(timeout=1)
|
||||
modified[idx_to_path[d['name']]] = parse_pin_value(d['value'])
|
||||
except queue.Empty:
|
||||
config = read_file(filepath_config())
|
||||
config = read_file(filepath_config(config_name))
|
||||
for k in modified.keys():
|
||||
deep_set(config, k, modified[k])
|
||||
logger.info(f'Save config {filepath_config(config_name)}, {dict_to_kv(modified)}')
|
||||
|
||||
Reference in New Issue
Block a user