Update output of "sbase convert FILE.py" for Python 3
This commit is contained in:
parent
749dee5908
commit
a10d150aec
|
@ -734,7 +734,7 @@ def main():
|
|||
seleniumbase_lines.append(lines[line_num])
|
||||
|
||||
seleniumbase_code = ""
|
||||
if has_unicode:
|
||||
if has_unicode and sys.version_info[0] < 3:
|
||||
seleniumbase_code = "# -*- coding: utf-8 -*-\n"
|
||||
if uses_keys:
|
||||
seleniumbase_code += (
|
||||
|
|
Loading…
Reference in New Issue