|
@@ -29,6 +29,9 @@ class Notifier:
|
|
|
Return the time as a string suitable for printing at the
|
|
Return the time as a string suitable for printing at the
|
|
|
head of any notify message
|
|
head of any notify message
|
|
|
"""
|
|
"""
|
|
|
|
|
+
|
|
|
|
|
+ # for some strange reason, time.time() updates only once/minute if
|
|
|
|
|
+ # the task is out of focus on win32. time.clock doesnt have this prob
|
|
|
return time.strftime(":%m-%d-%Y %H:%M:%S ", time.localtime(time.time()))
|
|
return time.strftime(":%m-%d-%Y %H:%M:%S ", time.localtime(time.time()))
|
|
|
|
|
|
|
|
def __str__(self):
|
|
def __str__(self):
|