mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-29 05:21:48 +00:00
[Bugfix] Uncover cmd len warn (#6536)
* show warnings * better error msg * mypy ignore --------- Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com> Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com> Co-authored-by: James Maslek <jmaslek11@gmail.com>
This commit is contained in:
@@ -379,9 +379,7 @@ class PlatformController(BaseController):
|
||||
|
||||
session.console.print(text=mt.menu_text, menu=self.PATH)
|
||||
|
||||
settings = session.settings
|
||||
dev_mode = settings.DEBUG_MODE or settings.TEST_MODE
|
||||
if mt.warnings and dev_mode:
|
||||
if mt.warnings:
|
||||
session.console.print("")
|
||||
for w in mt.warnings:
|
||||
w_str = str(w).replace("{", "").replace("}", "").replace("'", "")
|
||||
|
||||
Reference in New Issue
Block a user