From 7b3e976418efc8fbac8ea9945cc8399882448c1c Mon Sep 17 00:00:00 2001 From: Matthew Ellison Date: Fri, 29 Mar 2019 13:07:57 -0400 Subject: [PATCH] Changed getString to return minutes when >= 120 seconds and hours when >= 120 minutes rather than 1000 --- Stopwatch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Stopwatch.py b/Stopwatch.py index ee269b1..02af1bd 100644 --- a/Stopwatch.py +++ b/Stopwatch.py @@ -117,13 +117,13 @@ class Stopwatch: #If the resolution counter reached 3 we may need to change to minutes or hours #Check if seconds is low enough resolution - if(time >= 1000): + if(time >= 120): #If not, change it to minutes time /= 60 resCnt += 1 #Check if minutes is low enough resolution - if(time >= 1000): + if(time >= 120): #If not, change it to hours time /= 60 resCnt += 1