mirror of
https://github.com/evroon/bracket.git
synced 2026-04-29 03:25:44 -04:00
Allow correct number of inputs (#996)
fixes https://github.com/evroon/bracket/issues/612
This commit is contained in:
@@ -97,7 +97,7 @@ def determine_available_inputs(
|
||||
for stage in stages
|
||||
for stage_item in stage.stage_items
|
||||
if stage_item.type in {StageType.ROUND_ROBIN, StageType.SWISS}
|
||||
for winner_position in range(1, 5)
|
||||
for winner_position in range(1, stage_item.team_count + 1)
|
||||
}
|
||||
|
||||
# Determine which inputs have been used (set `already_taken` to True)
|
||||
|
||||
Reference in New Issue
Block a user