Typo
This commit is contained in:
parent
ad76048126
commit
64bddad4b3
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ def ban(player_id, target_id, success):
|
||||||
where id=%i"""% (ban_end, banned_player['id']))
|
where id=%i"""% (ban_end, banned_player['id']))
|
||||||
|
|
||||||
cur.execute("""insert into bans (player_id,target_id,success,time)
|
cur.execute("""insert into bans (player_id,target_id,success,time)
|
||||||
values %i,%i,%i,%f"""% (player['id'], target['id'], \
|
values (%i,%i,%i,%f)"""% (player['id'], target['id'], \
|
||||||
success and 1 or 0, time()))
|
success and 1 or 0, time()))
|
||||||
con.commit()
|
con.commit()
|
||||||
con.close()
|
con.close()
|
||||||
|
|
Loading…
Reference in a new issue