diff options
Diffstat (limited to 'gsxws/products.py')
-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 ae9e23a..de83b25 100644 --- a/gsxws/products.py +++ b/gsxws/products.py @@ -153,7 +153,8 @@ class Product(object): """ Returns true if this iOS device is unlocked """ - return ad.unlocked or ("unlock" in ad.nextTetherPolicyDetails) + policy = ad.nextTetherPolicyDetails or '' + return ad.unlocked or ("unlock" in policy) @property def should_check_activation(self): |