aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pySim/cards.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pySim/cards.py b/pySim/cards.py
index 1ed1634..b186044 100644
--- a/pySim/cards.py
+++ b/pySim/cards.py
@@ -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