def get_comp_list(): my_config = ScoutingAppMainWebServer.global_config complist = list() season = my_config["this_season"] this_comp = my_config["this_competition"] complist.append(this_comp + season) other_competitions = CompAlias.get_comp_alias_list() for comp in other_competitions: if comp and comp.upper() != my_config["this_competition"].upper(): complist.append(comp + season) return complist