chiark / gitweb /
Do not close the gcodeFile in the interpreter when it gets cancelled
authorYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Mon, 16 Feb 2015 18:40:06 +0000 (13:40 -0500)
committerYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Mon, 16 Feb 2015 18:40:06 +0000 (13:40 -0500)
commit3c7a9de1aeab5c749523b8dcc20ccc183278f13a
tree28b210378fb4b1dde6433862567ce9bc4b24e630
parent980d3d40d21bb7a423724e78c01e422b2b324897
Do not close the gcodeFile in the interpreter when it gets cancelled

This can cause issues because the calling function handles the closing
of the files (in this case load() instead of _load()) and the gcodeFile
could also be a list or a bigDataStorage which do not have a close() method.
Fixes issue #91
Cura/util/gcodeInterpreter.py