adv fix
This commit is contained in:
		
							parent
							
								
									8d1472bc8e
								
							
						
					
					
						commit
						597f47b319
					
				@ -1803,8 +1803,7 @@ def check_network_advancedsettings():
 | 
				
			|||||||
            for key in add.keys():
 | 
					            for key in add.keys():
 | 
				
			||||||
                file_cont=file_cont.replace('<network>','<network>\r\n    <'+key+'>'+str(add[key])+'</'+key+'>')
 | 
					                file_cont=file_cont.replace('<network>','<network>\r\n    <'+key+'>'+str(add[key])+'</'+key+'>')
 | 
				
			||||||
            for key in update.keys():
 | 
					            for key in update.keys():
 | 
				
			||||||
                file_cont=re.sub(r'<'+key+'>\d+</'+key+'>', '<'+key+'>'+str(update[key])+'</'+key+'>', file_cont)
 | 
					                file_cont=re.sub(r'<'+key+'>.+?</'+key+'>', '<'+key+'>'+str(update[key])+'</'+key+'>', file_cont)
 | 
				
			||||||
                print str(file_cont)
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if updated:
 | 
					    if updated:
 | 
				
			||||||
        dialog=xbmcgui.Dialog()
 | 
					        dialog=xbmcgui.Dialog()
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user