Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

To do: Select leagues needs to be a separate function #81

Open
Pringleman83 opened this issue Nov 17, 2018 · 0 comments
Open

To do: Select leagues needs to be a separate function #81

Pringleman83 opened this issue Nov 17, 2018 · 0 comments

Comments

@Pringleman83
Copy link
Owner

The select_leagues function needs to be separated so that there is a separate function for the selection of leagues only. The new function needs an extra argument for whether multiple selection is allowed. This could be set by default to True or False.

I expect it will only be necessary for it to take the available leagues list and optional Boolean value for multi and it will return the selected league(s). The format of the returned item will need some consideration of other functions. Ideally, It'll always be a list, even if the list only contains one item. It may be necessary to edit dependant functions to make this work though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant