File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -363,7 +363,8 @@ def main():
363363 action = "store_true" ,
364364 help = "Disable the splash screen on startup" )
365365
366- program_arguments = parser .parse_args ()
366+ program_arguments , remaining_arguments = parser .parse_known_args ()
367+ remaining_arguments .insert (0 , sys .argv [0 ])
367368
368369 # make the Python warnings go to Friture logger
369370 logging .captureWarnings (True )
@@ -424,7 +425,7 @@ def main():
424425 except :
425426 logger .error ("Could not set the app model ID. If the plaftorm is older than Windows 7, this is normal." )
426427
427- app = QApplication (sys . argv )
428+ app = QApplication (remaining_arguments )
428429
429430 if platform .system () == "Darwin" :
430431 logger .info ("Applying Mac OS-specific setup" )
You can’t perform that action at this time.
0 commit comments