fix missing command line arguments
This commit is contained in:
parent
ca10b0dd2a
commit
9e8185077b
@ -1412,10 +1412,10 @@ def get_main_app(argv=[]):
|
|||||||
return app, win
|
return app, win
|
||||||
|
|
||||||
|
|
||||||
def main(argv=[]):
|
def main():
|
||||||
'''construct main app and run it'''
|
'''construct main app and run it'''
|
||||||
app, _win = get_main_app(argv)
|
app, _win = get_main_app(sys.argv)
|
||||||
return app.exec_()
|
return app.exec_()
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
sys.exit(main(sys.argv))
|
sys.exit(main())
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user