mirror of
https://gitlab.com/Nanolx/qwad.git
synced 2024-11-22 02:29:18 +01:00
simplified -d opt a bit
This commit is contained in:
parent
90418591a4
commit
cf6cb46fa2
9
Qwad.pyw
9
Qwad.pyw
@ -46,12 +46,12 @@ def main():
|
||||
sys.exit(0)
|
||||
|
||||
if options.download:
|
||||
if "IOS" in str(args[0]):
|
||||
xarg = TitleDict[str(args[0])]
|
||||
nusdow = nusDownloadingCLI(int(str(xarg).lower(),16), args[1], args[2], args[3], args[4])
|
||||
if "IOS" in str(options.download[0]):
|
||||
xarg = TitleDict[str(options.download[0])]
|
||||
nusdow = nusDownloadingCLI(int(str(xarg).lower(),16), args[0], args[1], args[2], args[3])
|
||||
else:
|
||||
|
||||
nusdow = nusDownloadingCLI(int(str(args[0]).lower(),16), args[1], args[2], args[3], args[4])
|
||||
nusdow = nusDownloadingCLI(int(str(options.download[0]).lower(),16), args[0], args[1], args[2], args[3])
|
||||
nusdow.start()
|
||||
sys.exit(0)
|
||||
|
||||
@ -73,7 +73,6 @@ def main():
|
||||
print "%s == %s" % (str(args[0]), xarg)
|
||||
sys.exit(0)
|
||||
|
||||
|
||||
os.chdir(os.getenv("HOME"))
|
||||
translator = QTranslator()
|
||||
translator.load(QString("i18n/Qwad_%1").arg(QLocale.system().name()))
|
||||
|
Loading…
Reference in New Issue
Block a user