From e0b33799d5d156b23932d1b4c62574380d6dabda Mon Sep 17 00:00:00 2001 From: Bryan Mayland Date: Thu, 7 Aug 2014 09:23:50 -0400 Subject: [PATCH] Fix events with gcode command lists not firing --- 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 638713dc..36ea6dd9 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)