spotdlgui/core/spotdlgui/scripts/utils.py
def change_config_value(setting, value):
    '''
    Modifies the specified setting for the specified value 
    '''
    
    with open('./core/data/config.json') as f:
        data = json.load(f)

        data[setting] = value

    with open('./core/data/config.json', 'w') as f:
        json.dump(data, f, indent=2)

    Modifies the specified setting for the specified value 
    
Modifies the specified setting for the specified value
Modifies the specified setting for the specified value
def change_config_value(setting, value):
    with open('./core/data/config.json') as f:
        data = json.load(f)
        data[setting] = value
    with open('./core/data/config.json', 'w') as f:
        json.dump(data, f, indent=2)
def change_config_value ( setting , value ) : with open ( './core/data/config.json' ) as f : data = json . load ( f ) data [ setting ] = value with open ( './core/data/config.json' , 'w' ) as f : json . dump ( data , f , indent = 2 )
Modifies the specified setting for the specified value
Modifies the specified setting for the specified value
'''
    Modifies the specified setting for the specified value 
    '''
setting
value