1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-29 09:52:31 +01:00

Start sanitizing from the very first character

This commit is contained in:
David Paleino
2012-02-17 14:19:17 +01:00
parent f1769e0b86
commit dfb9ccdebe

View File

@@ -427,7 +427,7 @@ def noneToString(text):
def sanitize_escaped(s):
""" Sanitize double-escaped unicode strings. """
lastpos = 0
lastpos = -1
while True:
lastpos = s.find('\\x', lastpos + 1)
#print lastpos