From f77c95b4987c2fef4f192253f3e921047ed6cdcb Mon Sep 17 00:00:00 2001 From: caglarkilimci <110826807+caglarkilimci@users.noreply.github.com> Date: Thu, 16 Mar 2023 14:14:59 +0100 Subject: [PATCH] SW-2993 Fixed Camera Plugin iobeam not working (#13) * Add second parameter for the IOBeamHandler * Bump the version --- octoprint_camera/__init__.py | 2 +- octoprint_camera/__version.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/octoprint_camera/__init__.py b/octoprint_camera/__init__.py index 18e59fb..de4be4f 100644 --- a/octoprint_camera/__init__.py +++ b/octoprint_camera/__init__.py @@ -114,7 +114,7 @@ def on_after_startup(self, *a, **kw): # TODO Stage 2 - Only start the lens calibration daemon when required self.start_lens_calibration_daemon() # TODO Stage 3 - Separate into an iobeam plugin - self.iobeam_thread = iobeam.IoBeamHandler(self) + self.iobeam_thread = iobeam.IoBeamHandler(self, None) self.iobeam_thread._initWorker() # TODO Stage 3 - Remove, should only trigger via plugin hook. self._event_bus.subscribe( diff --git a/octoprint_camera/__version.py b/octoprint_camera/__version.py index 485f44a..b3f4756 100644 --- a/octoprint_camera/__version.py +++ b/octoprint_camera/__version.py @@ -1 +1 @@ -__version__ = "0.1.1" +__version__ = "0.1.2"