aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/yieldcurve.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/yieldcurve.py b/python/yieldcurve.py
index 80f562b7..4491fa5f 100644
--- a/python/yieldcurve.py
+++ b/python/yieldcurve.py
@@ -37,7 +37,7 @@ def load_curves(currency="USD", date=None):
if date:
c.execute(sql_str, (date,))
if c:
- curve, = c.fetchone()
+ _, curve = c.fetchone()
return YieldCurve.from_bytes(lz4.block.decompress(curve))
else:
c.execute(sql_str)