test/custom-admin-ui #3

Merged
orion merged 673 commits from test/custom-admin-ui into master 2026-06-05 17:20:58 +08:00
Showing only changes of commit 248541b2e7 - Show all commits
+2
View File
@@ -62,6 +62,8 @@ class Settings:
return cls.__instance
def __setattr__(self, key, value):
if not key.startswith('opendal_') and type(value) == str and value.isnumeric():
value = int(value)
self.__dict__[key] = value
with open(env_path, 'w', encoding='utf-8') as f:
for key, value in self.__dict__.items():