mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 14:59:34 +01:00
Clarify comment about timestamp() override
This commit is contained in:
parent
08a0531bf7
commit
e787c7aa49
@ -1,5 +1,6 @@
|
|||||||
###
|
###
|
||||||
# Copyright (c) 2002-2005, Jeremiah Fincher
|
# Copyright (c) 2002-2005, Jeremiah Fincher
|
||||||
|
# Copyright (c) 2008, James Vega
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
@ -349,7 +350,7 @@ def toBool(s):
|
|||||||
else:
|
else:
|
||||||
raise ValueError, 'Invalid string for toBool: %s' % quoted(s)
|
raise ValueError, 'Invalid string for toBool: %s' % quoted(s)
|
||||||
|
|
||||||
# Replace me!
|
# When used with Supybot, this is overriden when supybot.conf is loaded
|
||||||
def timestamp(t):
|
def timestamp(t):
|
||||||
if t is None:
|
if t is None:
|
||||||
t = time.time()
|
t = time.time()
|
||||||
|
Loading…
Reference in New Issue
Block a user