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 @@ -368,7 +368,8 @@ def main():
368368 action = "store_true" ,
369369 help = "Disable the splash screen on startup" )
370370
371- program_arguments = parser .parse_args ()
371+ program_arguments , remaining_arguments = parser .parse_known_args ()
372+ remaining_arguments .insert (0 , sys .argv [0 ])
372373
373374 # make the Python warnings go to Friture logger
374375 logging .captureWarnings (True )
@@ -429,7 +430,7 @@ def main():
429430 except :
430431 logger .error ("Could not set the app model ID. If the plaftorm is older than Windows 7, this is normal." )
431432
432- app = QApplication (sys . argv )
433+ app = QApplication (remaining_arguments )
433434
434435 if platform .system () == "Darwin" :
435436 logger .info ("Applying Mac OS-specific setup" )
You can’t perform that action at this time.
0 commit comments