mirror of
https://github.com/Cp0204/quark-auto-save.git
synced 2026-01-16 09:20:43 +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"]
|
task.get("addition", {}), CONFIG_DATA["task_plugins_config"]
|
||||||
)
|
)
|
||||||
# 调用插件
|
# 调用插件
|
||||||
print(f"🧩 调用插件")
|
if is_new_tree or is_rename:
|
||||||
for plugin_name, plugin in plugins.items():
|
print(f"🧩 调用插件")
|
||||||
if plugin.is_active and (is_new_tree or is_rename):
|
for plugin_name, plugin in plugins.items():
|
||||||
task = plugin.run(task, account=account, tree=is_new_tree) or task
|
if plugin.is_active and (is_new_tree or is_rename):
|
||||||
|
task = (
|
||||||
|
plugin.run(task, account=account, tree=is_new_tree) or task
|
||||||
|
)
|
||||||
print()
|
print()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user