Commit c4540017 authored by axel.maurer's avatar axel.maurer
Browse files

fail on error message

parent f701c009
......@@ -103,7 +103,7 @@ class CardReader:
self.serPort = port[0]
break
if not self.serPort:
self.returnMsg = f"device with name starts with: {SER_PORT_NAME} not found"
self.returnMsg = f"Elatec device not found - check port product or manufacturer"
self.returnCode = ERROR_READER_INIT
return
self.serCon = SerialConnection(self.serPort)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment