diff options
author | Filipp Lepalaan <f@230.to> | 2013-06-11 21:27:33 +0300 |
---|---|---|
committer | Filipp Lepalaan <f@230.to> | 2013-06-11 21:27:33 +0300 |
commit | d495f9a79cc9bf17469597727538265cfc93089d (patch) | |
tree | c7ab17c74cc5c28d1c012ea347c4f4f2970ebd69 | |
parent | 07773b42eb347c6a0062f3063edcc3368c3693ec (diff) | |
download | py-gsxws-d495f9a79cc9bf17469597727538265cfc93089d.tar.gz py-gsxws-d495f9a79cc9bf17469597727538265cfc93089d.tar.bz2 py-gsxws-d495f9a79cc9bf17469597727538265cfc93089d.zip |
Fixing warranty check with IMEI
-rw-r--r-- | gsxws/products.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gsxws/products.py b/gsxws/products.py index c62021b..dc77dc2 100644 --- a/gsxws/products.py +++ b/gsxws/products.py @@ -55,8 +55,9 @@ class Product(GsxObject): {'warrantyStatus': 'Out Of Warranty (No Coverage)',... """ if hasattr(self, "alternateDeviceId"): - if not self.serialNumber: + if not hasattr(self, "serialNumber"): self.activation() + try: self.partNumbers = [] for k, v in parts: |