Patch for an Issue #1083

This commit is contained in:
Miroslav Stampar 2014-12-31 17:10:45 +01:00
parent 2985050fce
commit f042a7392d

View File

@ -43,7 +43,7 @@ def cmdLineParser():
checkSystemEncoding() checkSystemEncoding()
_ = getUnicode(os.path.normpath(sys.argv[0]), encoding=sys.getfilesystemencoding()) _ = getUnicode(os.path.basename(sys.argv[0]), encoding=sys.getfilesystemencoding())
usage = "%s%s [options]" % ("python " if not IS_WIN else "", \ usage = "%s%s [options]" % ("python " if not IS_WIN else "", \
"\"%s\"" % _ if " " in _ else _) "\"%s\"" % _ if " " in _ else _)