add comment

This commit is contained in:
cxgeorge 2001-12-01 03:09:08 +00:00
parent f04032ef83
commit f14192b0e7

View File

@ -29,6 +29,9 @@ class Notifier:
Return the time as a string suitable for printing at the
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()))
def __str__(self):