aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gsxws/products.py3
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: