blueprints.api: quickfix

This commit is contained in:
Luna Mendes 2018-08-08 17:37:36 -03:00
parent 86c99c8fee
commit d36d3d7449

View file

@ -61,7 +61,7 @@ def calc_uptime(manager):
# get all polls that failed
cur.execute(f"""
SELECT COUNT(*) FROM {name}
WHERE status = false
WHERE status = 0
""")
row = cur.fetchone()