From 905f9adf9ba0f0eb9c079aa8a060261f16a28715 Mon Sep 17 00:00:00 2001 From: Shubham Singh <31368033+shubham7298@users.noreply.github.com> Date: Wed, 2 Oct 2019 10:43:50 +0530 Subject: [PATCH] Update stopwatch.py --- stopwatch.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/stopwatch.py b/stopwatch.py index 2f1cbf9..4dcb02a 100644 --- a/stopwatch.py +++ b/stopwatch.py @@ -14,7 +14,6 @@ def Main(): root.geometry('%dx%d+%d+%d' % (width, height, x, y)) - stopWatch = StopWatch(root) stopWatch.pack(side=TOP) @@ -68,7 +67,7 @@ def Start(self): self.startT = time.time() - self.nextT self.Updater() self.Run = 1 - + def Stop(self): if self.Run: self.after_cancel(self.timer) @@ -84,4 +83,4 @@ def Reset(self): self.nextT = 0.0 self.SetTime(self.nextT) -Main() \ No newline at end of file +Main()