Merge pull request #752 from Diaoul/patch-1

Fix logger call for gcode multi commands events
This commit is contained in:
Gina Häußge 2015-02-01 12:59:56 +01:00
commit 2523cf81ba

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)