From 3491f07e3839504c07bcb45918456d5a3aa68a26 Mon Sep 17 00:00:00 2001 From: Keir Rice Date: Sun, 25 Sep 2022 19:20:05 +1300 Subject: [PATCH] Forcing debug messages on. --- octoprint_enclosure/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/octoprint_enclosure/__init__.py b/octoprint_enclosure/__init__.py index b4f02ec..48f80be 100644 --- a/octoprint_enclosure/__init__.py +++ b/octoprint_enclosure/__init__.py @@ -1153,11 +1153,11 @@ class EnclosurePlugin(octoprint.plugin.StartupPlugin, octoprint.plugin.TemplateP stdout = Popen(cmd, stdout=PIPE, stderr=PIPE, universal_newlines=True) output, errors = stdout.communicate() - if self._settings.get(["debug_temperature_log"]) is True: + if True or self._settings.get(["debug_temperature_log"]) is True: if len(errors) > 0: self._logger.error("SHTC3 error: %s", errors) else: - self._logger.debug("SHTC3 result: %s", output) + self._logger.info("SHTC3 result: %s", output) temp, hum = output.split("|") return self.to_float(temp.strip()), self.to_float(hum.strip())