Remove time checking from timer_tick method
The timer ticks only if datetime.now() >= self.timer. That is why we do not need to do time checking in the timer_tick method
if datetime.now() >= self.end_time:
...
The timer ticks only if datetime.now() >= self.timer. That is why we do not need to do time checking in the timer_tick method
if datetime.now() >= self.end_time:
...