Commit 0353e76e authored by Kristian Tan's avatar Kristian Tan

query by not all

parent e0b9efbb
......@@ -84,7 +84,7 @@ def toggle_pin(change_pin):
db.session.commit()
pins[change_pin]['on_time'] = None
print("==========")
print(DailyUsage.query.all())
print(DailyUsage.query.filter_by(id=1))
print("==========")
else:
message += " on."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment