Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 12, 2023
1 parent 94f49a9 commit 37cebe6
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 @@ -67,11 +67,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 37cebe6

Please sign in to comment.