Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/feature/pick_game' into feature/…
Browse files Browse the repository at this point in the history
…pick_game
  • Loading branch information
BuildTools committed Nov 12, 2023
2 parents d09ffe6 + 37cebe6 commit fec6777
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/heckbot/cogs/picker.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ def load_games(self):
self._game_constraints[line[0]] = (PLAYERS_MIN, PLAYERS_MAX)
elif len(line) == 2:
self._game_constraints[line[0]] = (
int(line[1]), PLAYERS_MAX
int(line[1]), PLAYERS_MAX,
)
else:
self._game_constraints[line[0]] = (
int(line[1]), int(line[2])
int(line[1]), int(line[2]),
)

for player_file in os.listdir(f'{RESOURCE_DIR}/players'):
Expand Down

0 comments on commit fec6777

Please sign in to comment.