mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 01:07:52 -06:00
CuraApplication: Allow unknown arguments
This commit is contained in:
parent
35ed042a72
commit
044c538887
1 changed files with 1 additions and 1 deletions
|
@ -634,7 +634,7 @@ class CuraApplication(QtApplication):
|
|||
CuraApplication.addCommandLineOptions(parser)
|
||||
# Important: It is important to keep this line here!
|
||||
# In Uranium we allow to pass unknown arguments to the final executable or script.
|
||||
parsed_command_line = vars(parser.parse_args())
|
||||
parsed_command_line = vars(parser.known_args()[0])
|
||||
|
||||
if parsed_command_line["single_instance"]:
|
||||
Logger.log("i", "Checking for the presence of an ready running Cura instance.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue