mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-22 21:38:35 +03:00
SimCard.reset(): fix SyntaxWarning: 'is' with a literal
Change-Id: I5860179acd1cb330e91dbe5b57cd60cd520f2d9d
This commit is contained in:
@@ -63,7 +63,7 @@ class SimCard(object):
|
|||||||
|
|
||||||
def reset(self):
|
def reset(self):
|
||||||
rc = self._scc.reset_card()
|
rc = self._scc.reset_card()
|
||||||
if rc is 1:
|
if rc == 1:
|
||||||
return self._scc.get_atr()
|
return self._scc.get_atr()
|
||||||
else:
|
else:
|
||||||
return None
|
return None
|
||||||
|
|||||||
Reference in New Issue
Block a user