try to improve tourney handling in filter (now displays buyin, but this is not yet used by playerstats when fetching stats

This commit is contained in:
sqlcoder
2010-02-01 00:17:55 +00:00
parent 264b75b5b0
commit e4c6419074
3 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -788,10 +788,11 @@ class Database:
def get_player_id(self, config, site, player_name):
c = self.connection.cursor()
#print "get_player_id: player_name =", player_name, type(player_name)
print "get_player_id: player_name =", player_name, type(player_name)
p_name = Charset.to_utf8(player_name)
c.execute(self.sql.query['get_player_id'], (p_name, site))
row = c.fetchone()
print "player id =", row
if row:
return row[0]
else: