diff --git a/daemons/notify.py b/daemons/notify.py index 5412dc9..a34b01a 100644 --- a/daemons/notify.py +++ b/daemons/notify.py @@ -34,7 +34,7 @@ def process(): mongo.lessons_collection.update_one({"_id": lesson['_id']}, {"$set": {"notified": True}}) for user in mongo.users_collection.find({"next_daily_notify_time": {"$lte": time_now}}): user_model = UserSchema().load(user) - if time_now.weekday() != 6 or True: + if time_now.weekday() != 6: lessons = mongo.get_today_lessons(user_model) if len(lessons) == 0: text = "Сегодня у тебя нет пар."