mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-02 07:34:08 +01:00
Removed leading spaces if the timestamp is set to nothing.
This commit is contained in:
parent
5b03c6d5b7
commit
057563540f
@ -111,7 +111,9 @@ class ChannelLogger(callbacks.Privmsg):
|
||||
return StringIO()
|
||||
|
||||
def timestamp(self, log):
|
||||
log.write(time.strftime(conf.supybot.log.timestampFormat()))
|
||||
format = conf.supybot.log.timestampFormat()
|
||||
if format:
|
||||
log.write(time.strftime(format))
|
||||
log.write(' ')
|
||||
|
||||
def doLog(self, channel, s):
|
||||
|
Loading…
Reference in New Issue
Block a user