Commit 9d956baa authored by Kristian Tan's avatar Kristian Tan

query by not all

parent 0353e76e
...@@ -84,7 +84,8 @@ def toggle_pin(change_pin): ...@@ -84,7 +84,8 @@ def toggle_pin(change_pin):
db.session.commit() db.session.commit()
pins[change_pin]['on_time'] = None pins[change_pin]['on_time'] = None
print("==========") print("==========")
print(DailyUsage.query.filter_by(id=1)) d = DailyUsage.query.filter_by(id=1)
print(d)
print("==========") print("==========")
else: else:
message += " on." 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