haha
This commit is contained in:
@@ -30,8 +30,7 @@ class TaskDispatcher:
|
||||
def _normalize_account_name(account_name: Optional[str]) -> str:
|
||||
return (account_name or "").strip()
|
||||
|
||||
@staticmethod
|
||||
def _find_active_task(worker_id: str, account_name: str) -> Optional[Task]:
|
||||
def _find_active_task(self, worker_id: str, account_name: str) -> Optional[Task]:
|
||||
normalized = self._normalize_account_name(account_name)
|
||||
if not worker_id or not normalized:
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user