1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-11 22:08:20 +08:00

Fix: Trying to fix story skip bug on game client

This commit is contained in:
LmeSzinc
2023-09-10 16:20:39 +08:00
parent 890f072643
commit da02fd6066
5 changed files with 40 additions and 21 deletions

View File

@@ -744,6 +744,12 @@ class ConfigBackup:
for key, value in self.backup.items():
self.config.__setattr__(key, value)
def __enter__(self):
return self
def __exit__(self, exc_type, exc_val, exc_tb):
self.recover()
class MultiSetWrapper:
def __init__(self, main):