mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-02 07:11:22 -07: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
1 changed files with 1 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue