From 597f47b31909cd191454f0bb82245ee86d7210d8 Mon Sep 17 00:00:00 2001 From: DiMartinoXBMC Date: Fri, 7 Aug 2015 16:29:23 +0300 Subject: [PATCH] adv fix --- functions.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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()