From f62addc5e808109165dd6589a0f0a048f7bfe3e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 22 Jul 2020 14:30:42 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Fix=20some=20comments=20&=20log?= =?UTF-8?q?=20output?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/octoprint/util/comm.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index 1dcb270cb..4f2408606 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -2494,11 +2494,11 @@ class MachineCom(object): return True elif self.job_on_hold: - # job is on hold, that means we must not send from either script queue or file + # job is on hold, that means we must not send from either job queue or file return False elif self._send_from_job_queue(): - # we found something in the script queue to send + # we found something in the job queue to send return True elif job_active and self._send_from_job(): @@ -2509,7 +2509,7 @@ class MachineCom(object): # nothing sent but also no job active, so we can just return false return False - self._logger.debug("No command sent on ok while printing, doing another iteration") + self._logger.debug("No command enqueued on ok while printing, doing another iteration") def _process_registered_message(self, line, feedback_matcher, feedback_controls, feedback_errors): feedback_match = feedback_matcher.search(line)