MCPcopy Create free account
hub / github.com/AstroPrint/AstroBox / _executeGcodeCommand

Method _executeGcodeCommand

src/octoprint/events.py:327–334  ·  view source on GitHub ↗
(self, command)

Source from the content-addressed store, hash-verified

325 self._logger.exception("Command failed")
326
327 def _executeGcodeCommand(self, command):
328 commands = [command]
329 if isinstance(command, (list, tuple, set)):
330 self._logger.debug("Executing GCode commands: %r" % command)
331 commands = list(command)
332 else:
333 self._logger.debug("Executing GCode command: %s" % command)
334 self._printer.commands(commands)
335
336 def _processCommand(self, command, payload):
337 """

Callers 1

executeCommandMethod · 0.95

Calls 1

commandsMethod · 0.80

Tested by

no test coverage detected