This commit is contained in:
Miroslav Stampar 2016-01-10 23:15:43 +01:00
parent e53e4dddf1
commit 2280cd191a

View File

@ -984,7 +984,7 @@ class Connect(object):
if name != "__builtins__" and originals.get(name, "") != value:
if isinstance(value, (basestring, int)):
found = False
value = unicode(value)
value = getUnicode(value)
regex = r"((\A|%s)%s=).+?(%s|\Z)" % (re.escape(delimiter), re.escape(name), re.escape(delimiter))
if re.search(regex, (get or "")):