Unverified Commit 00b7a61c authored by Zafir Stojanovski's avatar Zafir Stojanovski Committed by GitHub
Browse files

fixed incorrect check for task type (replace `~` with `not`) (#1865)

parent 86319a9b
......@@ -413,7 +413,9 @@ def get_task_dict(
)
string_task_name_list = [task for task in task_name_list if isinstance(task, str)]
others_task_name_list = [task for task in task_name_list if ~isinstance(task, str)]
others_task_name_list = [
task for task in task_name_list if not isinstance(task, str)
]
if len(string_task_name_list) > 0:
if task_manager is None:
task_manager = TaskManager()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment