Content-Length: 211574 | pFad | http://github.com/h2lab/smartleia/commit/edf5911c78dd1aaf715f78304683930bf3455a48

AE Add non negotiable mode if negotiable mode fails in smartleia main. · h2lab/smartleia@edf5911 · GitHub
Skip to content

Commit

Permalink
Add non negotiable mode if negotiable mode fails in smartleia main.
Browse files Browse the repository at this point in the history
  • Loading branch information
rben-dev committed Mar 26, 2021
1 parent 0874bfa commit edf5911
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions smartleia/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,11 @@ def dfu():
try:
leia.configure_smartcard()
except:
print("Error: are you sure that a smartcard is inserted in the LEIA board?")
sys.exit(42)
try:
leia.configure_smartcard(negotiate_pts=False)
except:
print("Error: are you sure that a smartcard is inserted in the LEIA board?")
sys.exit(42)

try:
leia.pcsc_relay()
Expand Down

0 comments on commit edf5911

Please sign in to comment.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/h2lab/smartleia/commit/edf5911c78dd1aaf715f78304683930bf3455a48

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy