Remove erroneous encoding

This string should not be encoded, it seems.
This commit is contained in:
Mika Bostrom 2010-01-21 22:05:24 +02:00
parent 29d5204bee
commit 91cd2d2599

View File

@ -605,8 +605,7 @@ class Database:
def get_player_id(self, config, site, player_name):
c = self.connection.cursor()
p_name = Charset.to_utf8(player_name)
c.execute(self.sql.query['get_player_id'], (p_name, site))
c.execute(self.sql.query['get_player_id'], (player_name, site))
row = c.fetchone()
if row:
return row[0]