Fix bug: "local variable 'uni' referenced before assignment"

This commit is contained in:
Michael Mintz 2018-08-07 22:07:23 -04:00
parent a5366752af
commit a635929a06
1 changed files with 1 additions and 0 deletions

View File

@ -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