From e937b6336db4eb8d37894bbf2783e864b68fa9c0 Mon Sep 17 00:00:00 2001 From: Kumuditha Silva Date: Tue, 9 Sep 2025 19:59:51 +0530 Subject: [PATCH] convert second to minutes --- taskon/app.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/taskon/app.py b/taskon/app.py index 9caec69..a7bef64 100644 --- a/taskon/app.py +++ b/taskon/app.py @@ -61,14 +61,14 @@ def start(self): session_type = self.task_manager.next_session() if session_type == "work": - self.timer.remaining = self.config.WORK_MIN + self.timer.remaining = self.config.WORK_MIN * 60 self.ui.update_logo(self.images["work"]) elif session_type == "long_break": - self.timer.remaining = self.config.LONG_BREAK_MIN + self.timer.remaining = self.config.LONG_BREAK_MIN * 60 self.ui.update_logo(self.images["long_break"]) self.ui.add_checkmark(self.images["checkbox"]) else: # short_break - self.timer.remaining = self.config.SHORT_BREAK_MIN + self.timer.remaining = self.config.SHORT_BREAK_MIN * 60 self.ui.update_logo(self.images["short_break"]) self.ui.add_checkmark(self.images["checkbox"])