Debug Patch (#1297)

* Remove none error

* Noted where issue is beign silenced

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
This commit is contained in:
Colin Delahunty
2022-02-01 18:26:24 -05:00
committed by GitHub
parent 94eedfc55e
commit 973d2f476f
2 changed files with 2 additions and 3 deletions

View File

@@ -159,6 +159,7 @@ class BaseController(metaclass=ABCMeta):
elif known_args.cmd == "r":
known_args.cmd = "reset"
# This is what mutes portfolio issue
getattr(
self,
"call_" + known_args.cmd,

View File

@@ -277,9 +277,7 @@ def terminal(jobs_cmds: List[str] = None):
# Check if the user wants to reset application
if an_input in ("r", "reset") or t_controller.update_succcess:
ret_code = reset(
t_controller.queue if len(t_controller.queue) > 0 else []
)
ret_code = reset(t_controller.queue if t_controller.queue else [])
if ret_code != 0:
print_goodbye()
break