mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-03 17:24:21 +08:00
CuraApplication: Allow unknown arguments
This commit is contained in:
parent
35ed042a72
commit
044c538887
@ -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…
x
Reference in New Issue
Block a user