blueprints.api: quickfix

This commit is contained in:
Luna Mendes 2018-08-08 17:37:36 -03:00
parent 86c99c8fee
commit d36d3d7449
1 changed files with 1 additions and 1 deletions

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()