diff --git a/octoprint_CalibrationTools/__init__.py b/octoprint_CalibrationTools/__init__.py index 3b0a764..1d35a0b 100644 --- a/octoprint_CalibrationTools/__init__.py +++ b/octoprint_CalibrationTools/__init__.py @@ -82,5 +82,4 @@ def __plugin_load__(): "octoprint.comm.protocol.gcode.received": __plugin_implementation__.gCodeReceived, "octoprint.comm.protocol.gcode.sending": __plugin_implementation__.gCodeSending, "octoprint.comm.protocol.temperatures.received": __plugin_implementation__.processTemp - # "octoprint.comm.protocol.atcommand.sending": __plugin_implementation__.comm_protocol_atcommand_sending } diff --git a/octoprint_CalibrationTools/hooks.py b/octoprint_CalibrationTools/hooks.py index 19eb89c..376a8d9 100644 --- a/octoprint_CalibrationTools/hooks.py +++ b/octoprint_CalibrationTools/hooks.py @@ -70,6 +70,7 @@ class Hooks(): threading.Thread(target=event["func"], args=(self, temps, *event["args"])).start() self.events.remove(event) + ## Registering a temp event def registerEventTemp(self, tool, targetTemp, func, *arguments): if func is None: self._logger.warn("registerEventTemp: Attempt to register event without a function")