summaryrefslogtreecommitdiff
path: root/src/main.py
diff options
context:
space:
mode:
authorMichał Klichowicz <emkael@tlen.pl>2023-10-04 22:50:53 +0200
committerMichał Klichowicz <emkael@tlen.pl>2023-10-04 22:50:53 +0200
commitc1e0672ccd4a4ae140db7a9f88b9dbd34e230813 (patch)
tree32fb3927bb9ae4d59eea52f7545d79a13e728945 /src/main.py
parenta7e3a4c40931e9cc43affec38f30065998efad5f (diff)
Bugfix for reading lineups from PBN: entries should be filtered by pbn_round, not teamy_round
Diffstat (limited to 'src/main.py')
-rw-r--r--src/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.py b/src/main.py
index 113bdd5..05d6b02 100644
--- a/src/main.py
+++ b/src/main.py
@@ -84,7 +84,7 @@ def get_pbn_lineups(pbn, round_no):
def fetch_lineups(pbn, db, settings):
rosters = get_team_rosters(db)
- tables = get_pbn_lineups(pbn, settings['teamy_round'])
+ tables = get_pbn_lineups(pbn, settings['pbn_round'])
round_lineup = get_round_lineup(db, settings['teamy_round'], settings['teamy_segment'])
for t, rooms in tables.items():