From ea8fbf312a42514d5be20298825586406bac5f87 Mon Sep 17 00:00:00 2001 From: Ace Date: Sun, 17 Mar 2019 07:25:55 +0100 Subject: [PATCH] Fixed a bug --- Calendar/E-Paper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Calendar/E-Paper.py b/Calendar/E-Paper.py index 7d5aef1..952026c 100644 --- a/Calendar/E-Paper.py +++ b/Calendar/E-Paper.py @@ -417,7 +417,7 @@ def main(): if update_times >= mins: sleep_for_minutes = update_times - mins - next_update_countdown = sleep_for_minutes + (60-seconds) + next_update_countdown = sleep_for_minutes*60 + (60-seconds) print(sleep_for_minutes,'Minutes and ', (60-seconds),'Seconds left until next loop')