diff --git a/roulette.py b/roulette.py index 20718d6..ba30795 100644 --- a/roulette.py +++ b/roulette.py @@ -108,7 +108,7 @@ def get_player_from_full_name(firstname, name): machines.id,machines.ip,players.ban_end from players inner join machines on players.id=machines.player_id - where players.firstname=%s and players.name=%s"""% firstname, name) + where players.firstname=\"%s\" and players.name=\"%s\""""% firstname, name) row = cur.fetchone() con.close()