Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
axel.maurer
bwCard Reader
Commits
c4540017
Commit
c4540017
authored
Dec 10, 2021
by
axel.maurer
Browse files
fail on error message
parent
f701c009
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/read_card.py
View file @
c4540017
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment