This commit is contained in:
guimoz 2017-01-31 17:56:29 +01:00
parent 25adda3eba
commit ad76048126

View file

@ -210,7 +210,7 @@ def ban(player_id, target_id, success):
cur.execute("""insert into bans (player_id,target_id,success,time)
values %i,%i,%i,%f"""% (player['id'], target['id'], \
success and 1 or 0, time())
success and 1 or 0, time()))
con.commit()
con.close()