re-fix a couple of errors from previous merges

This commit is contained in:
sqlcoder 2009-05-03 01:24:10 +01:00
parent 5111eb1a8f
commit 1b82ad7f65
2 changed files with 0 additions and 4 deletions

View File

@ -202,8 +202,6 @@ class Database:
for name, val in zip(colnames, row): for name, val in zip(colnames, row):
t_dict[name.lower()] = val t_dict[name.lower()] = val
# print t_dict # print t_dict
t_dict['screen_name'] = names[t_dict['player_id']]
t_dict['seat'] = seats[t_dict['player_id']]
stat_dict[t_dict['player_id']] = t_dict stat_dict[t_dict['player_id']] = t_dict
return stat_dict return stat_dict

View File

@ -175,8 +175,6 @@ class Sql:
SELECT HudCache.playerId AS player_id, SELECT HudCache.playerId AS player_id,
HandsPlayers.seatNo AS seat, HandsPlayers.seatNo AS seat,
Players.name AS screen_name, Players.name AS screen_name,
seatNo AS seat,
name AS screen_name,
sum(HDs) AS n, sum(HDs) AS n,
sum(street0VPI) AS vpip, sum(street0VPI) AS vpip,
sum(street0Aggr) AS pfr, sum(street0Aggr) AS pfr,