[bugfix] config.py AUTH_KEYESのsetterを修正

This commit is contained in:
misygauziya
2023-08-15 12:44:06 +09:00
parent 1231fbd83c
commit 65d1427876
2 changed files with 4 additions and 2 deletions

View File

@@ -316,7 +316,7 @@ class Config:
if type(value) is dict and set(value.keys()) == set(self.AUTH_KEYS.keys()):
for key, value in value.items():
if type(value) is str:
self._AUTH_KEYS[key] = value[key]
self._AUTH_KEYS[key] = value
save_json(self.PATH_CONFIG, inspect.currentframe().f_code.co_name, self.AUTH_KEYS)
@property