diff --git a/init.py b/init.py index e710dcf..302a728 100644 --- a/init.py +++ b/init.py @@ -50,7 +50,7 @@ class AlarmClock: def loop(self): currentButtonState = not self.buttonGpio.read() - currentTime = datetime.now(city.tzinfo) + currentTime = time() if (self.configMode == "normal"): currentMinute = int((currentTime / 60) % 60)