diff --git a/functions.py b/functions.py index 174b612..067384f 100644 --- a/functions.py +++ b/functions.py @@ -1803,8 +1803,7 @@ def check_network_advancedsettings(): for key in add.keys(): file_cont=file_cont.replace('','\r\n <'+key+'>'+str(add[key])+'') for key in update.keys(): - file_cont=re.sub(r'<'+key+'>\d+', '<'+key+'>'+str(update[key])+'', file_cont) - print str(file_cont) + file_cont=re.sub(r'<'+key+'>.+?', '<'+key+'>'+str(update[key])+'', file_cont) if updated: dialog=xbmcgui.Dialog()