diff --git a/pySim/transport/pcsc.py b/pySim/transport/pcsc.py index 47c41853..7fa922ff 100644 --- a/pySim/transport/pcsc.py +++ b/pySim/transport/pcsc.py @@ -63,11 +63,8 @@ class PcscSimLink(LinkBase): self._con.disconnect() def reset_card(self): - self._con.disconnect() - try: - self._con.connect() - except NoCardException: - raise NoCardError() + self.disconnect() + self.connect() return 1 def send_apdu_raw(self, pdu):