From 8a61e4517f7ede2d9a244481c0e79bbd520b95be Mon Sep 17 00:00:00 2001 From: Antoine Bertin Date: Sun, 1 Feb 2015 11:05:37 +0100 Subject: [PATCH] Fix logger call for gcode multi commands events --- src/octoprint/events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/events.py b/src/octoprint/events.py index 6b332454..cf7baaa1 100644 --- a/src/octoprint/events.py +++ b/src/octoprint/events.py @@ -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)