feat: MAA完整功能上线

This commit is contained in:
DLmaster361
2025-08-10 21:45:35 +08:00
parent 409a7a2d03
commit 6b729be34e
9 changed files with 526 additions and 391 deletions

View File

@@ -78,7 +78,9 @@ class _TaskManager:
else:
raise ValueError(f"The task corresponding to UID {uid} could not be found.")
if task_id in self.task_dict:
if task_id in self.task_dict or (
actual_id is not None and actual_id in self.task_dict
):
raise RuntimeError(f"The task {task_id} is already running.")