diff --git a/octoprint_telegram/telegramCommands.py b/octoprint_telegram/telegramCommands.py index d22ab34..0168e74 100644 --- a/octoprint_telegram/telegramCommands.py +++ b/octoprint_telegram/telegramCommands.py @@ -1405,7 +1405,7 @@ def ConConnect(self,chat_id,parameter): self.main._printer.connect(port=self.conSettingsTemp[0],baudrate=self.conSettingsTemp[1],profile=self.conSettingsTemp[2]) self.conSettingsTemp = [] con = self.main._printer.get_current_connection() - waitStates=["Offline","Detecting baudrate","Connecting","Opening serial port","Detecting serial port"] + waitStates=["Offline","Detecting baudrate","Connecting","Opening serial port","Detecting serial port","Detecting serial connection"] while any(s in con[0] for s in waitStates): con = self.main._printer.get_current_connection() self._logger.debug("EXIT WITH: "+str(con[0]))