mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
add comment
This commit is contained in:
parent
f04032ef83
commit
f14192b0e7
@ -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):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user