From 64bddad4b38bb365ada151fa0891a6a267ae2968 Mon Sep 17 00:00:00 2001 From: guimoz Date: Tue, 31 Jan 2017 17:58:42 +0100 Subject: [PATCH] Typo --- roulette.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roulette.py b/roulette.py index f5cd5db..20718d6 100644 --- a/roulette.py +++ b/roulette.py @@ -209,7 +209,7 @@ def ban(player_id, target_id, success): where id=%i"""% (ban_end, banned_player['id'])) 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())) con.commit() con.close()