mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 01:49:03 +08: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
@ -102,7 +102,6 @@ class CuraEngineBackend(Backend):
|
||||
# \return list of commands and args / parameters.
|
||||
def getEngineCommand(self):
|
||||
active_machine = Application.getInstance().getMachineManager().getActiveMachineInstance()
|
||||
json_path = ""
|
||||
if not active_machine:
|
||||
json_path = Resources.getPath(Resources.MachineDefinitions, "fdmprinter.json")
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user