LudovicRousseau / pyscard

pyscard smartcard library for python
http://pyscard.sourceforge.net/
GNU Lesser General Public License v2.1
377 stars 108 forks source link

added SCARD_E_NO_SERVICE to renewContext #154

Closed mbokil closed 1 year ago

mbokil commented 1 year ago

Added SCARD_E_NO_SERVICE to renewContext. Added CardServiceNotFoundException exception. Worked for me on the latest Windows 10 catching both stop and no service to renew the context.

coveralls commented 1 year ago

Coverage Status

Coverage: 28.576% (-1.0e-05%) from 28.576% when pulling 43e40b995dcc11014aeb3b285726d23b373ab0bd on mbokil:master into b9bb295f2f42bee5da13d9080930b35e2dfdc9d9 on LudovicRousseau:master.

mbokil commented 1 year ago

Ok I will make these changes and amend the pull request. thanks for reviewing.

LudovicRousseau commented 1 year ago

Thanks. I merged your code with some rework of the commit messages.