SimCard.reset(): fix SyntaxWarning: 'is' with a literal

Change-Id: I5860179acd1cb330e91dbe5b57cd60cd520f2d9d
This commit is contained in:
Vadim Yanitskiy
2022-04-21 16:46:03 +03:00
parent c30bed235e
commit b95445159b

View File

@@ -63,7 +63,7 @@ class SimCard(object):
def reset(self):
rc = self._scc.reset_card()
if rc is 1:
if rc == 1:
return self._scc.get_atr()
else:
return None