Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix logger call for gcode multi commands events #752

Merged
merged 1 commit into from Feb 1, 2015

Conversation

@Diaoul
Copy link
Contributor

Diaoul commented Feb 1, 2015

Missing _ causes the whole thing to fail.

Traceback (most recent call last):
  File "/home/pi/OctoPrint/src/octoprint/events.py", line 110, in _work
    listener(event, payload)
  File "/home/pi/OctoPrint/src/octoprint/events.py", line 267, in eventCallback
    self.executeCommand(processedCommand, commandType)
  File "/home/pi/OctoPrint/src/octoprint/events.py", line 275, in executeCommand
    self._executeGcodeCommand(command)
  File "/home/pi/OctoPrint/src/octoprint/events.py", line 296, in _executeGcodeCommand
    self.logger.debug("Executing GCode commands: %r" % command)
AttributeError: 'CommandTrigger' object has no attribute 'logger'
@foosel

This comment has been minimized.

Copy link
Owner

foosel commented Feb 1, 2015

Apparently I forgot to backport f5eef06 unto master

foosel added a commit that referenced this pull request Feb 1, 2015
Fix logger call for gcode multi commands events
@foosel foosel merged commit 2523cf8 into foosel:master Feb 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.