From d495f9a79cc9bf17469597727538265cfc93089d Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Tue, 11 Jun 2013 21:27:33 +0300 Subject: Fixing warranty check with IMEI --- gsxws/products.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gsxws/products.py') 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: -- cgit v1.2.3