Fix logger call for gcode multi commands events

This commit is contained in:
Antoine Bertin 2015-02-01 11:05:37 +01:00
parent f32c977381
commit 8a61e4517f

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)