Merge pull request #533 from CapnBry/hinthintlogger

Fix events with gcode command lists not firing
This commit is contained in:
Gina Häußge committed 2014-08-07 15:29:44 +02:00
commit c026d7d248
1 file changed
+1 -1
+1 -1
View File
@@ -293,7 +293,7 @@ class CommandTrigger(GenericEventListener):
def _executeGcodeCommand(self, command):
commands = [command]
if isinstance(command, (list, tuple, set)):
self.logger.debug("Executing GCode commands: %r" % command)
self._logger.debug("Executing GCode commands: %r" % command)
commands = list(command)
else:
self._logger.debug("Executing GCode command: %s" % command)