taskhandler: fix exists() verbosity.

This commit is contained in:
Jake 2026-03-04 22:06:25 -08:00
parent f94f5c581f
commit 94c503b4e6

View file

@ -460,10 +460,7 @@ class TaskHandler:
bool: True the task exists False if it does not.
"""
if task_id in self.tasks:
return True
else:
return False
return task_id in self.tasks
def active(self, task_id):
"""