mirror of
				https://github.com/mail-in-a-box/mailinabox.git
				synced 2025-11-03 19:30:54 +00:00 
			
		
		
		
	Fix undefined variable 'val'
This commit is contained in:
		
							parent
							
								
									7c67ad49d0
								
							
						
					
					
						commit
						fd44210ee7
					
				@ -136,8 +136,9 @@ while len(input_lines) > 0:
 | 
			
		||||
# Put any settings we didn't see at the end of the file,
 | 
			
		||||
# except settings being cleared.
 | 
			
		||||
for i in range(len(settings)):
 | 
			
		||||
	if (i not in found) and not (not val and erase_setting):
 | 
			
		||||
	if (i not in found):
 | 
			
		||||
		name, val = settings[i].split("=", 1)
 | 
			
		||||
		if not (not val and erase_setting):
 | 
			
		||||
			buf += name + delimiter + val + "\n"
 | 
			
		||||
 | 
			
		||||
if not testing:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user