From 71cbec255e5702007dbd4cda581899c63c910f36 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sun, 27 Aug 2017 08:22:30 -0400 Subject: [PATCH] fix Signed-off-by: Kenneth Reitz --- predictions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/predictions.py b/predictions.py index ab39a81..62a49bd 100644 --- a/predictions.py +++ b/predictions.py @@ -54,7 +54,7 @@ def get_predictions(coin): usd = requests.get('https://coinbin.org/btc').json()['coin']['usd'] pro_db = records.Database(os.environ['HEROKU_POSTGRESQL_TEAL_URL']) - rows = pro_db.query(q, coin=c.ticker) + rows = pro_db.query(q, coin=c.name) df = rows.export('df')