From: Michael Tremer Date: Thu, 21 Jan 2010 16:46:48 +0000 (+0100) Subject: Fix display of builds that were not put in right categories. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2e4c460502b8569462ae53fffba5a0ee447b3a50;p=ipfire.org.git Fix display of builds that were not put in right categories. --- diff --git a/www/webapp/handlers.py b/www/webapp/handlers.py index 968068c0..e2cb209a 100644 --- a/www/webapp/handlers.py +++ b/www/webapp/handlers.py @@ -167,9 +167,9 @@ class BuildHandler(BaseHandler): } for build in builds.find(): - if (time.time() - float(build.get("date"))) < 12*60: + if (time.time() - float(build.get("date"))) < 12*60*60: self.builds["<12h"].append(build) - elif (time.time() - float(build.get("date"))) < 24*60: + elif (time.time() - float(build.get("date"))) < 24*60*60: self.builds[">12h"].append(build) else: self.builds[">24h"].append(build)