1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-09 18:39:04 +08:00

Opt: Config marge

This commit is contained in:
LmeSzinc 2021-09-26 17:05:35 +08:00
parent 5ca0eba158
commit 4d4107e9f1

View File

@ -1,4 +1,3 @@
import copy
import datetime
import operator
import time
@ -305,7 +304,10 @@ class AzurLaneConfig(ConfigUpdater, ManualConfig, GeneratedConfig):
Returns:
AzurLaneConfig
"""
config = copy.copy(self)
# Since all tasks run independently, there's no need to separate configs
# config = copy.copy(self)
config = self
for attr in dir(config):
if attr.endswith('__'):
continue