mirror of
https://github.com/LiteyukiStudio/marshoai-melo.git
synced 2025-09-07 21:26:25 +00:00
移植nb2 localstore插件,实现夸赞名单
This commit is contained in:
@ -54,6 +54,6 @@ class Config:
|
||||
if name in self.config_items:
|
||||
value = os.getenv(name.upper())
|
||||
return self._convert_string(value) if value is not None else self.config_items[name]
|
||||
|
||||
raise AttributeError(f"'Config' object has no attribute '{name}'")
|
||||
else:
|
||||
return None
|
||||
|
||||
|
Reference in New Issue
Block a user