Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ab269f3

Browse files
committed
Fix for an Issue #886
1 parent 65c3dfd commit ab269f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/parse/cmdline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def cmdLineParser():
4141

4242
checkSystemEncoding()
4343

44-
_ = os.path.normpath(sys.argv[0])
44+
_ = getUnicode(os.path.normpath(sys.argv[0]), system=True)
4545

4646
usage = "%s%s [options]" % ("python " if not IS_WIN else "", \
4747
"\"%s\"" % _ if " " in _ else _)

0 commit comments

Comments
 (0)