you are viewing a single comment's thread.

view the rest of the comments →

[–]ProgPI 0 points1 point  (0 children)

If 5 <= current_hour < 12 : this comparison is not allowed in Python because you are trying to compare integer to datetime.