add: __init__.py增加内容

This commit is contained in:
taylor
2024-10-12 01:36:31 +08:00
parent bd0ceae883
commit 0307e2a040

View File

@@ -11,7 +11,7 @@ from mautrix.util.config import BaseProxyConfig, ConfigUpdateHelper
配置文件加载
"""
class Config(BaseProxyConfig):
def db_update(self, helper: ConfigUpdateHelper) -> None:
def do_update(self, helper: ConfigUpdateHelper) -> None:
helper.copy("allowed_users")
helper.copy("use_platform")
helper.copy("name")