mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 12:40:35 +00:00
Fixed bug giving exception when calling balance (#2998)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
This commit is contained in:
@@ -78,7 +78,7 @@ def display_balance(
|
||||
|
||||
df = get_balance(from_symbol, to_symbol)
|
||||
|
||||
if not df or df.empty:
|
||||
if df is None or df.empty:
|
||||
console.print("[red]No data found[/red]\n")
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user