mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-30 05:03:54 +00:00
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:
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user