PEP8 fixes.
This commit is contained in:
parent
6564681c6b
commit
4adff6a5ff
1 changed files with 5 additions and 4 deletions
|
@ -28,7 +28,8 @@ class FindMyiPhoneService(object):
|
|||
# TODO: Support multiple devices.
|
||||
self.content = self.response['content'][0]
|
||||
else:
|
||||
raise PyiCloudNoDevicesException('You do not have any active devices.')
|
||||
message = 'You do not have any active devices.'
|
||||
raise PyiCloudNoDevicesException(message)
|
||||
self.user_info = self.response['userInfo']
|
||||
|
||||
def location(self):
|
||||
|
|
Loading…
Reference in a new issue