hamster-applet r796 - trunk/hamster



Author: tbaugis
Date: Tue Feb 24 11:29:36 2009
New Revision: 796
URL: http://svn.gnome.org/viewvc/hamster-applet?rev=796&view=rev

Log:
ah, good ol' null and 0 mixup

Modified:
   trunk/hamster/edit_activity.py

Modified: trunk/hamster/edit_activity.py
==============================================================================
--- trunk/hamster/edit_activity.py	(original)
+++ trunk/hamster/edit_activity.py	Tue Feb 24 11:29:36 2009
@@ -711,8 +711,8 @@
         return True
     
     def format_time(self, time):
-        if not time:
-            return ""
+        if time == None:
+            return None
         
         #return time.strftime("%I:%M%p").lstrip("0").lower()
         return time.strftime("%H:%M").lower()



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]