mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 23:17:32 -06:00
Remove unnecessary variable initialisation
This isn't C++ or anything. Variable scope isn't limited by if statements. Contributes to issue CURA-1278.
This commit is contained in:
parent
83c1ea2ccc
commit
ae6f4912e6
1 changed files with 0 additions and 1 deletions
|
@ -102,7 +102,6 @@ class CuraEngineBackend(Backend):
|
||||||
# \return list of commands and args / parameters.
|
# \return list of commands and args / parameters.
|
||||||
def getEngineCommand(self):
|
def getEngineCommand(self):
|
||||||
active_machine = Application.getInstance().getMachineManager().getActiveMachineInstance()
|
active_machine = Application.getInstance().getMachineManager().getActiveMachineInstance()
|
||||||
json_path = ""
|
|
||||||
if not active_machine:
|
if not active_machine:
|
||||||
json_path = Resources.getPath(Resources.MachineDefinitions, "fdmprinter.json")
|
json_path = Resources.getPath(Resources.MachineDefinitions, "fdmprinter.json")
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue