Merge pull request #533 from CapnBry/hinthintlogger

Fix events with gcode command lists not firing
This commit is contained in:
Gina Häußge 2014-08-07 15:29:44 +02:00
commit c026d7d248

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)