From 820ede48b25ecda616c00c9e1f1aa391850eb4f9 Mon Sep 17 00:00:00 2001 From: Lonja Selter Date: Thu, 28 Mar 2019 12:04:23 +0000 Subject: [PATCH] yet more logging messages --- octoprint_enclosure/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/octoprint_enclosure/__init__.py b/octoprint_enclosure/__init__.py index 1f94804..dfcd524 100644 --- a/octoprint_enclosure/__init__.py +++ b/octoprint_enclosure/__init__.py @@ -1207,8 +1207,9 @@ class EnclosurePlugin(octoprint.plugin.StartupPlugin, try: if queue_id is not None and self._settings.get(["debug"]) is True: self._logger.info("Running scheduled queue id %s", queue_id) + self._logger.debug("pwm_instances: %s", self.pwm_intances) for pwm in self.pwm_intances: - self._logger.debug("pwm: %s", pwm) + self._logger.debug("is gpio in pwm? : %s", (gpio in pwm)) if gpio in pwm: pwm_object = pwm[gpio] old_pwm_value = pwm['duty_cycle'] if 'duty_cycle' in pwm else -1