n-roth12/DFSLineupOptimizer

Error

Closed this issue · 1 comments

I receive the following with fanduel

File "./DFSLineupOptimizer/optimize.py", line 16, in <module>
    optimize(sys.argv)
  File "./DFSLineupOptimizer/optimize.py", line 11, in optimize
    lineup = optimize_lineup(mode, filepath)
  File ".
[FanDuel-NFL-2023 ET-12 ET-04 ET-96864-players-list.csv](https://github.com/n-roth12/DFSLineupOptimizer/files/13550676/FanDuel-NFL-2023.ET-12.ET-04.ET-96864-players-list.csv)
/DFSLineupOptimizer/lineup_optimizer/__init__.py", line 9, in optimize_lineup
    lineup_builder = LineupBuilder(SETTINGS[site].MODES.get(mode).get("POSITIONS"),
AttributeError: 'NoneType' object has no attribute 'get'

Should be fixed now, let me know if you see this again, and please provide the full command that was run. Thanks