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()