Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--stopwatch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/stopwatch.py b/stopwatch.py
index ddb4c3c..def58bf 100644
--- a/stopwatch.py
+++ b/stopwatch.py
@@ -72,7 +72,7 @@ class WatchModel():
lastevent = self._history.last()
return lastevent[0]
else:
- return float("-inf")
+ return time.time()
def reset(self, s, t):
self._base_state.set_value(s, t)