From 06350823eab573662d0f6f22fafd07566835409e Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Fri, 25 Feb 2011 20:50:45 -0500 Subject: [PATCH] fix lowest resolution on hoursFromSeconds() --- Window.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Window.py b/Window.py index 55c5b2c..82fb8c3 100644 --- a/Window.py +++ b/Window.py @@ -124,8 +124,8 @@ class Window: self.project_hour_labels[p][day].set_text(hrs) def hoursFromSeconds(self, secs): - if secs < 0.6 * 60 * 60: - secs = 0.6 * 60 * 60; + if secs < 0.1 * 60 * 60: + secs = 0.1 * 60 * 60; return "%.1f" % (secs / 60.0 / 60.0) def main(self):