mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 00:56:01 +08:00
CuraApplication: Making it one line again
Don't know why the pylint marker is here..
This commit is contained in:
parent
1a9c152041
commit
61b6831e62
@ -630,8 +630,7 @@ class CuraApplication(QtApplication):
|
|||||||
@classmethod
|
@classmethod
|
||||||
def preStartUp(cls):
|
def preStartUp(cls):
|
||||||
# Peek the arguments and look for the 'single-instance' flag.
|
# Peek the arguments and look for the 'single-instance' flag.
|
||||||
parser = argparse.ArgumentParser(prog = "cura",
|
parser = argparse.ArgumentParser(prog = "cura", add_help = False) # pylint: disable=bad-whitespace
|
||||||
add_help = False) # pylint: disable=bad-whitespace
|
|
||||||
CuraApplication.addCommandLineOptions(parser)
|
CuraApplication.addCommandLineOptions(parser)
|
||||||
# Important: It is important to keep this line here!
|
# Important: It is important to keep this line here!
|
||||||
# In Uranium we allow to pass unknown arguments to the final executable or script.
|
# In Uranium we allow to pass unknown arguments to the final executable or script.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user