Fixed bug giving exception when calling balance (#2998)

Co-authored-by: James Maslek <jmaslek11@gmail.com>
This commit is contained in:
0xDareDevil
2022-10-23 21:31:02 +05:30
committed by GitHub
parent d86f02a767
commit 723ec8b0ea

View File

@@ -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