Skip to content
Snippets Groups Projects
Unverified Commit 148a603e authored by SKAJohanVenter's avatar SKAJohanVenter
Browse files

SAR-276 Rather use the Command __call__

parent 8f516705
Branches
No related tags found
No related merge requests found
...@@ -382,9 +382,9 @@ class QueueManager: ...@@ -382,9 +382,9 @@ class QueueManager:
ResultCode.NOT_ALLOWED, "Command not allowed", unique_id ResultCode.NOT_ALLOWED, "Command not allowed", unique_id
) )
if argin: if argin:
result = task.do(argin) result = task(argin)
else: else:
result = task.do() result = task()
# If the response is (ResultCode, Any) # If the response is (ResultCode, Any)
if ( if (
isinstance(result, tuple) isinstance(result, tuple)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment