update:重构基本完成
This commit is contained in:
@@ -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