mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 20:42:26 +00:00
Update backend.py (#4471)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
This commit is contained in:
@@ -109,9 +109,13 @@ class Backend(pywry.PyWry):
|
||||
def get_table_html(self) -> str:
|
||||
"""Get the table html file."""
|
||||
if self.table_html.exists():
|
||||
return self.get_table_html()
|
||||
|
||||
return str(self.table_html)
|
||||
return str(self.table_html)
|
||||
console.print(
|
||||
"[bold red]table.html file not found, check the path:[/]"
|
||||
f"[green]{PLOTS_CORE_PATH / 'table.html'}[/]"
|
||||
)
|
||||
self.max_retries = 0 # pylint: disable=W0201
|
||||
raise FileNotFoundError
|
||||
|
||||
def get_window_icon(self) -> str:
|
||||
"""Get the window icon."""
|
||||
|
||||
Reference in New Issue
Block a user