From c1e0672ccd4a4ae140db7a9f88b9dbd34e230813 Mon Sep 17 00:00:00 2001 From: MichaƂ Klichowicz Date: Wed, 4 Oct 2023 22:50:53 +0200 Subject: Bugfix for reading lineups from PBN: entries should be filtered by pbn_round, not teamy_round --- src/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.py') 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(): -- cgit v1.2.3