spotdlgui/main.py
def switch_callback(self, instance, value):
        '''
        Runs everytime a switch that is linked to this callback is switched.
        '''
        if instance == 'askLocation':
            app_utils.change_config_value('askLocation', value)

        else:
            pass

        Runs everytime a switch that is linked to this callback is switched.
        
Runs everytime a switch that is linked to this callback is switched.
Runs everytime a switch that is linked to this callback is switched .
def switch_callback(self, instance, value):
        if instance == 'askLocation':
            app_utils.change_config_value('askLocation', value)
        else:
            pass
def switch_callback ( self , instance , value ) : if instance == 'askLocation' : app_utils . change_config_value ( 'askLocation' , value ) else : pass
Runs everytime a switch that is linked to this callback is switched.
Runs everytime a switch that is linked to this callback is switched .
'''
        Runs everytime a switch that is linked to this callback is switched.
        '''
self
instance
value