lib: fix config possibly iterating None
This commit is contained in:
		@ -136,7 +136,7 @@ class ConfigLoader:
 | 
			
		||||
            root = root.get(sub, None)
 | 
			
		||||
        # Walk each component of the path
 | 
			
		||||
        for comp in path.split(sep):
 | 
			
		||||
            if comp in root:
 | 
			
		||||
            if root and comp in root:
 | 
			
		||||
                root = root.get(comp)
 | 
			
		||||
            else:
 | 
			
		||||
                return default
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user