From ff47314d76aa0592ab888f8b8e898c708e16fcb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 9 Jun 2020 16:01:54 +0200 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=20Return=20from=20connect=20if=20alre?= =?UTF-8?q?ady=20connected?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/octoprint/printer/standard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/printer/standard.py b/src/octoprint/printer/standard.py index ea727c9b9..3a8779071 100644 --- a/src/octoprint/printer/standard.py +++ b/src/octoprint/printer/standard.py @@ -255,7 +255,7 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback): will be attempted. """ if self._comm is not None: - self.disconnect() + return eventManager().fire(Events.CONNECTING) self._printerProfileManager.select(profile)