Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenwoudsma committed Mar 11, 2014
1 parent 2a993e5 commit da438de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.py
Expand Up @@ -152,7 +152,7 @@ def is_number(s):

#Store the retrieve data in this loop/iteration to the database
unique_keys = ['player_team', 'player_round', 'player_id']
data.sqlite.save(unique_keys, row_player, table_name="pcteamplayers")
data.sqlite.save(unique_keys, data=row_player, table_name="pcteamplayers")

#Query above data to get extra details for the team information
rawbench = data.sqlite.select("sum(player_pntscor) as bnchscore from pcteamplayers where player_teamid = '" + source + "' and player_round='" + RoundInfo + "' and player_position='Bankspeler'" )
Expand Down

0 comments on commit da438de

Please sign in to comment.