cleanup: return after cmd removed in main()
This commit is contained in:
parent
536c8fa454
commit
58477dcd82
@ -44,8 +44,7 @@ def main(sysargv: List[str]) -> None:
|
||||
args.func(args)
|
||||
# TODO: fetch return_code as returned by the command function here
|
||||
return_code = 0
|
||||
return
|
||||
|
||||
else:
|
||||
# Load and run worker
|
||||
worker = Worker(args)
|
||||
worker.run()
|
||||
|
Loading…
Reference in New Issue
Block a user