mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 12:40:35 +00:00
Added non check (#2870)
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt> Co-authored-by: Chavithra <chavithra@gmail.com>
This commit is contained in:
@@ -259,7 +259,7 @@ class NestedCompleter(Completer):
|
||||
elif same_flags[1] in self.flags_processed:
|
||||
self.flags_processed.remove(same_flags[1])
|
||||
|
||||
if cmd:
|
||||
if cmd and self.original_options.get(cmd):
|
||||
self.options = {
|
||||
k: self.original_options.get(cmd).options[k] # type: ignore
|
||||
for k in self.original_options.get(cmd).options.keys() # type: ignore
|
||||
|
||||
Reference in New Issue
Block a user