Remove hardcoded cardset range in scouting scripts
Changed from range(1, 28) to empty list [] to automatically include all cardsets without future maintenance. This ensures new cardsets (like cardset 29) are automatically included in scouting reports. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
a20348ef7d
commit
89deba6d65
@ -404,7 +404,7 @@ async def main():
|
||||
start_time = log_time('start', 'Pulling scouting data')
|
||||
overall_start_time = start_time
|
||||
|
||||
batting_dfs = await get_scouting_dfs(range(1, 28))
|
||||
batting_dfs = await get_scouting_dfs([])
|
||||
print(f'Received {batting_dfs} rows')
|
||||
|
||||
log_time('end', 'Pulled scouting data', start_time=start_time)
|
||||
|
||||
@ -239,7 +239,7 @@ async def main():
|
||||
start_time = log_time('start', 'Pulling scouting data')
|
||||
overall_start_time = start_time
|
||||
|
||||
pitching_dfs = await get_scouting_dfs(range(1, 28))
|
||||
pitching_dfs = await get_scouting_dfs([])
|
||||
print(f'Received {pitching_dfs} rows')
|
||||
|
||||
log_time('end', 'Pulled scouting data', start_time=start_time)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user