kopia lustrzana https://github.com/ihabunek/toot
				
				
				
			Sort keys when saving JSON config
This helps keeping changes minimal when rewritting from the program.pull/171/head
							rodzic
							
								
									9d3d38552e
								
							
						
					
					
						commit
						949b5552ca
					
				| 
						 | 
				
			
			@ -72,7 +72,7 @@ def load_config():
 | 
			
		|||
 | 
			
		||||
def save_config(config):
 | 
			
		||||
    with open(CONFIG_FILE, 'w') as f:
 | 
			
		||||
        return json.dump(config, f, indent=True)
 | 
			
		||||
        return json.dump(config, f, indent=True, sort_keys=True)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def extract_user_app(config, user_id):
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Ładowanie…
	
		Reference in New Issue