Skip to content

Commit

Permalink
Merge pull request googleapis#87 from fcollman/master
Browse files Browse the repository at this point in the history
fixing tabs in inbox.py
  • Loading branch information
Narcolapser authored Feb 27, 2018
2 parents b9281f4 + 4323c3c commit 39bc0bf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions O365/inbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ def getMessages(self, number = 10):
response = requests.get(self.inbox_url,auth=self.auth,params={'$filter':self.filters, '$top':number},verify=self.verify)
log.info('Response from O365: %s', str(response))

#check that there are messages
try:
response.json()['value']
except KeyError as e:
log.debug('no messages')
return False
#check that there are messages
try:
response.json()['value']
except KeyError as e:
log.debug('no messages')
return False

for message in response.json()['value']:
try:
duplicate = False
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
https://github.com/Narcolapser/python-o365'''

setup(name='O365',
version='0.9.13',
version='0.9.14',
description='Python library for working with Microsoft Office 365',
long_description=long_desc,
author='Toben Archer',
Expand Down

0 comments on commit 39bc0bf

Please sign in to comment.