Skip stocks where count is 0

This commit is contained in:
Administrator 2022-05-12 17:25:10 +02:00
parent 124b233a71
commit f8a34d88d1

View File

@ -33,6 +33,9 @@ def get_portfolio():
# Otherwise calculate portfolio
if transactions is not None:
for row in transactions:
if count == 0:
continue
else:
data = {
"isin": row[0],
"comment": row[1],