Skip to content

Commit 45937ae

Browse files
jclarkeSTFCpeterfpeterson
authored andcommitted
Skip first argument when calling main
The first argument of sys.argv is the launch script, so we don't need that.
1 parent 83fcfb4 commit 45937ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qt/applications/workbench/workbench/app/mantidworkbench_launch_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def launch(args=None):
1818
command = ["launch_mantidworkbench"] + args[1:]
1919
subprocess.run(command)
2020
else:
21-
main(args)
21+
main(args[1:])
2222

2323

2424
if __name__ == "__main__":

0 commit comments

Comments
 (0)