Fix events with gcode command lists not firing

This commit is contained in:
Bryan Mayland 2014-08-07 09:23:50 -04:00
parent 17d3d9deb7
commit e0b33799d5

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)