log pro requests

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2017-08-24 19:25:37 -04:00
parent 55ae19bc31
commit a9f6ea214c
+1
View File
@@ -296,6 +296,7 @@ def get_history(coin):
q = "SELECT * from api_coin WHERE name=:coin ORDER BY date desc"
if request.args.get('key') in API_KEYS:
print('Pro request!')
rows = pro_db.query(q, coin=c.name)
else:
rows = db.query(q, coin=c.name)