Simplified the Available Leagues dictionary so that it now only requires the league name and link. Other figures (such as option number and number of teams in the league are now calculated in the app).
Tweaked the import_json_file function so that it can work silently without any input or output. Used this to import available league information from the leagues.json file at start up. This means that users can edit the list without editing source code.
Simplified the Available Leagues dictionary so that it now only requires the league name and link. Other figures (such as option number and number of teams in the league are now calculated in the app).
Tweaked the import_json_file function so that it can work silently without any input or output. Used this to import available league information from the leagues.json file at start up. This means that users can edit the list without editing source code.