mirror of
https://github.com/evennia/evennia.git
synced 2026-08-18 11:14:44 +00:00
taskhandler: fix exists() verbosity.
This commit is contained in:
@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user