update:重构基本完成
This commit is contained in:
1 parent
999a09b2d7
commit
b9f9ce6f8c
4 files changed
+9
-6
No files matched your search
@@ -44,7 +44,6 @@ class Settings:
|
||||
if value.isdigit():
|
||||
value = int(value)
|
||||
default_value[key] = value
|
||||
|
||||
# 更新self
|
||||
for key, value in default_value.items():
|
||||
self.__setattr__(key, value)
|
||||
|
||||
Reference in new issue
Block a user