@ -86,4 +86,4 @@ def unhook(hdict, id):
if x.id == id:
hdict[cmd].remove(x)
if not hdict[cmd]:
del hdict[cmd]
@ -233,4 +233,3 @@ def update_role_stats(clk, role, won, iwon):
c.execute("INSERT OR REPLACE INTO rolestats VALUES (?,?,?,?,?)",
(plid, rid, wins, iwins, total))
@ -99,4 +99,4 @@ if __name__ == "__main__":
try:
main()
except:
logging.error(traceback.format_exc())