mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
pulled in temp fix from branch for _strptime crash
This commit is contained in:
parent
b6ad665ef5
commit
8b82a9d61f
@ -3867,6 +3867,8 @@ def isInteger(n):
|
||||
return type(n) in (types.IntType, types.LongType)
|
||||
|
||||
def configIsToday(configName):
|
||||
# TODO: replace usage of strptime with something else
|
||||
return False
|
||||
# returns true if config string is a valid representation of today's date
|
||||
today = time.localtime()
|
||||
confStr = config.GetString(configName, '')
|
||||
|
Loading…
x
Reference in New Issue
Block a user