temporary fix to log plugin
This commit is contained in:
parent
42270718e9
commit
55e0851eb8
|
@ -101,7 +101,10 @@ def log(bot, input):
|
||||||
if beau == '': # don't log this
|
if beau == '': # don't log this
|
||||||
return
|
return
|
||||||
|
|
||||||
|
try:
|
||||||
print '%s %s %s' % (timestamp, input.chan, beau)
|
print '%s %s %s' % (timestamp, input.chan, beau)
|
||||||
|
except Exception, e:
|
||||||
|
print e, timestamp, input.chan, beau
|
||||||
|
|
||||||
if input.chan:
|
if input.chan:
|
||||||
fd = get_log_fd(bot.persist_dir, input.server, input.chan)
|
fd = get_log_fd(bot.persist_dir, input.server, input.chan)
|
||||||
|
|
Loading…
Reference in New Issue