mirror of
https://github.com/Cp0204/quark-auto-save.git
synced 2026-01-12 07:10:44 +08:00
This commit is contained in:
parent
4e45e37412
commit
26060f0dd7
@ -868,10 +868,13 @@ def do_save(account, tasklist=[]):
|
||||
task.get("addition", {}), CONFIG_DATA["task_plugins_config"]
|
||||
)
|
||||
# 调用插件
|
||||
print(f"🧩 调用插件")
|
||||
for plugin_name, plugin in plugins.items():
|
||||
if plugin.is_active and (is_new_tree or is_rename):
|
||||
task = plugin.run(task, account=account, tree=is_new_tree) or task
|
||||
if is_new_tree or is_rename:
|
||||
print(f"🧩 调用插件")
|
||||
for plugin_name, plugin in plugins.items():
|
||||
if plugin.is_active and (is_new_tree or is_rename):
|
||||
task = (
|
||||
plugin.run(task, account=account, tree=is_new_tree) or task
|
||||
)
|
||||
print()
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user