Fix bug: "local variable 'uni' referenced before assignment"
This commit is contained in:
parent
a5366752af
commit
a635929a06
|
@ -319,6 +319,7 @@ def main():
|
|||
if data:
|
||||
whitespace = data.group(1)
|
||||
xpath = '%s' % data.group(2)
|
||||
uni = ""
|
||||
if '(u"' in line:
|
||||
uni = "u"
|
||||
has_unicode = True
|
||||
|
|
Loading…
Reference in New Issue