aboutsummaryrefslogtreecommitdiffstats
path: root/python/strat_cash_realloc.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/strat_cash_realloc.py')
-rw-r--r--python/strat_cash_realloc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/strat_cash_realloc.py b/python/strat_cash_realloc.py
index af3a20f8..aa97b243 100644
--- a/python/strat_cash_realloc.py
+++ b/python/strat_cash_realloc.py
@@ -15,7 +15,7 @@ def generate_csv(date, fund="BOWDST"):
fund,
),
)
- if c.fetchone():
+ if value := c.fetchone():
return
c.execute(
"SELECT * FROM list_orphaned_cash(%s, %s) ",