def profile_selection(): if generic_utility.get_setting('single_profile') == 'false': if not generic_utility.get_setting('selected_profile') or generic_utility.get_setting('show_profiles') == 'true': profiles.choose() else: profiles.load() profiles.update_displayed()
def profile_selection(): if not ( generic_utility.get_setting('selected_profile') or (generic_utility.get_setting('single_profile') == 'true')): profiles.choose() elif not (generic_utility.get_setting('single_profile') == 'true') and ( generic_utility.get_setting('show_profiles') == 'true'): profiles.choose() elif not ((generic_utility.get_setting('single_profile') and generic_utility.get_setting('show_profiles')) == 'true'): profiles.load() profiles.update_displayed()
def profile_selection(): if generic_utility.get_setting('single_profile') == 'false': if not generic_utility.get_setting( 'selected_profile') or generic_utility.get_setting( 'show_profiles') == 'true': profiles.choose() else: profiles.load() profiles.update_displayed()
def profile_selection(): if generic_utility.get_setting("single_profile") == "false": if ( not generic_utility.get_setting("selected_profile") or generic_utility.get_setting("show_profiles") == "true" ): profiles.choose() else: profiles.load() profiles.update_displayed()
def choose_profile(): profiles.choose() profiles.update_displayed()