Debug shit

master
Sfan5 2014-03-21 13:58:10 +01:00
parent f48ab28a8e
commit 77ca881b7e
1 changed files with 5 additions and 1 deletions

View File

@ -51,7 +51,11 @@ def checktell(phenny, input):
global tell_diskwriteinterval, tell_lastdiskwrite, tell_lastlisthash, tell_pending
for e in tell_list:
if e[1].lower() == input.nick.lower():
phenny.say("%s: %s <%s> %s" % (input.nick, time.strftime('%m-%d %H:%M UTC', time.gmtime(e[3])), e[0], e[2]))
phenny.say("%s: %s <%s> %s" % (
input.nick,
time.strftime('%m-%d %H:%M UTC', time.gmtime(e[3])),
e[0],
e[2]))
tell_list.remove(e)
tell_pending.append(("DELETE FROM tell WHERE nick = ? AND tellee = ? AND msg = ? AND time = ?", e))
break