mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-04-01 09:51:22 +08:00
fix: await async config reload handlers
Restore awaiting of async on_config_changed callbacks in ConfigReloadMixin to ensure config reload logic executes correctly. Made-with: Cursor
This commit is contained in:
@@ -41,7 +41,7 @@ class ConfigReloadMixin:
|
||||
logger.info(
|
||||
f"配置 {', '.join(changed_keys)} 变更,重载 {self.get_reload_name()}..."
|
||||
)
|
||||
self.on_config_changed()
|
||||
await self.on_config_changed()
|
||||
else:
|
||||
|
||||
def wrapper(self: ConfigReloadMixin, event: Event):
|
||||
|
||||
Reference in New Issue
Block a user