mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
taskhandler: fix exists() verbosity.
This commit is contained in:
parent
f94f5c581f
commit
94c503b4e6
1 changed files with 1 additions and 4 deletions
|
|
@ -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):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue