changeset 411:0650c47e7a1c

Merge.
author Bernhard Reiter <bernhard@intevation.de>
date Wed, 03 May 2017 11:51:39 +0200
parents ac4dead31672 (diff) 7e27d2145007 (current diff)
children cc56bc1fd56b
files getan/states.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/getan/states.py	Wed May 03 11:50:30 2017 +0200
+++ b/getan/states.py	Wed May 03 11:51:39 2017 +0200
@@ -856,7 +856,7 @@
 
         if hours > 0:
             self.footer.set_edit_text(
-                "{:d}:{:d}".format(hours, int(total_minutes % 60)))
+                "{:d}:{:02d}".format(hours, int(total_minutes % 60)))
         else:
             self.footer.set_edit_text("{:d}".format(total_minutes))
 
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)