Skip to content

Commit

Permalink
Fix unenforced rule
Browse files Browse the repository at this point in the history
  • Loading branch information
BenBrostoff committed Jan 29, 2024
1 parent 09f1ad9 commit 3ec8b7b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions draftfast/rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,6 @@ def __eq__(self, other):
# https://support.fanduel.com/s/article/How-many-players-can-I-select-from-one-team
position_per_team_rules=[
[lambda pos: "P" not in pos, 4],
# Must include at least one C or 1B
[lambda pos: pos in ['C', '1B'], 1]
],
)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

setuptools.setup(
name='draftfast',
version='3.12.4',
version='3.12.5',
author='Ben Brostoff',
author_email='[email protected]',
description='A tool to automate and optimize DraftKings and FanDuel '
Expand Down

0 comments on commit 3ec8b7b

Please sign in to comment.