From 1b82aa859fbe8bc9c8fe868c29dbd8e8d7ac4dd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 20 May 2019 16:48:00 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20accidental=20test=20code?= =?UTF-8?q?=20commit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/octoprint/util/comm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index bb9563eb3..69a17d642 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -2626,7 +2626,7 @@ class MachineCom(object): serial_obj.port = str(port) use_parity_workaround = settings().get(["serial", "useParityWorkaround"]) - needs_parity_workaround = True #get_os() == "linux" and os.path.exists("/etc/debian_version") # See #673 + needs_parity_workaround = get_os() == "linux" and os.path.exists("/etc/debian_version") # See #673 if use_parity_workaround == "always" or (needs_parity_workaround and use_parity_workaround == "detect"): serial_obj.parity = serial.PARITY_ODD