minor update

This commit is contained in:
Miroslav Stampar 2011-01-30 07:41:09 +00:00
parent d63339ca26
commit 1abf354630

View File

@ -547,10 +547,9 @@ def cmdLineParser():
args = [] args = []
for arg in sys.argv: for arg in sys.argv:
try: try:
args.append(getUnicode(arg, sys.getfilesystemencoding())) args.append(getUnicode(arg, sys.stdin.encoding or sys.getfilesystemencoding()))
except: except:
args.append(getUnicode(arg, "utf8")) args.append(getUnicode(arg, "utf8"))
(args, _) = parser.parse_args(args)
if not args.direct and not args.url and not args.list and not args.googleDork and not args.configFile\ if not args.direct and not args.url and not args.list and not args.googleDork and not args.configFile\
and not args.requestFile and not args.updateAll and not args.smokeTest and not args.liveTest\ and not args.requestFile and not args.updateAll and not args.smokeTest and not args.liveTest\