re-fix a couple of errors from previous merges
This commit is contained in:
parent
5111eb1a8f
commit
1b82ad7f65
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user