mirror of
				https://github.com/onyx-and-iris/voicemeeter-compact.git
				synced 2025-11-03 23:01:46 +00:00 
			
		
		
		
	fixes bug where old configs may not have new keys
patch bump
This commit is contained in:
		
							parent
							
								
									59d2a95ec4
								
							
						
					
					
						commit
						e5975f0772
					
				@ -1,6 +1,6 @@
 | 
			
		||||
[tool.poetry]
 | 
			
		||||
name = "voicemeeter-compact"
 | 
			
		||||
version = "1.8.0"
 | 
			
		||||
version = "1.8.1"
 | 
			
		||||
description = "A Compact Voicemeeter Remote App"
 | 
			
		||||
authors = ["onyx-and-iris <code@onyxandiris.online>"]
 | 
			
		||||
license = "MIT"
 | 
			
		||||
 | 
			
		||||
@ -59,8 +59,13 @@ _defaults = {
 | 
			
		||||
    "navigation": {"show": True},
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
if "app" in configuration:
 | 
			
		||||
    configuration["app"] = _defaults | configuration["app"]
 | 
			
		||||
    for key in _defaults:
 | 
			
		||||
        if key in configuration["app"]:
 | 
			
		||||
            configuration["app"][key] = _defaults[key] | configuration["app"][key]
 | 
			
		||||
        else:
 | 
			
		||||
            configuration["app"][key] = _defaults[key]
 | 
			
		||||
else:
 | 
			
		||||
    configuration["app"] = _defaults
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user