BenBrostoff / draftfast

A tool to automate and optimize DraftKings and FanDuel lineup construction.
282 stars 112 forks source link

`-banned` and `-locked` are not respected when exposure file is used #95

Closed sharkiteuthis closed 5 years ago

sharkiteuthis commented 5 years ago

see here:

def run(league, args, existing_rosters=None, exposure_bounds=None):
    if exposure_bounds:
        exposure_args = get_exposure_args(...)
        args.locked = exposure_args['locked']
        args.banned = exposure_args['banned']

This might be resolved when you pip-ify the module for #63 and get away from the namespace stuff.

sharkiteuthis commented 5 years ago

Fixed by #113