Skip to content

Commit

Permalink
fixed missing parentheses which throws an error when using default pa…
Browse files Browse the repository at this point in the history
…rameters. See github issue googleapis#332
  • Loading branch information
NielsDebrier committed Oct 16, 2019
1 parent 5d546f0 commit 537cc99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion O365/mailbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def get_message(self, object_id=None, query=None, *, download_attachments=False)
if object_id is not None:
url = self.build_url(self._endpoints.get('message').format(id=object_id))
params = None
if query and query.has_selects or query.has_expands:
if query and (query.has_selects or query.has_expands):
params = query.as_params()
response = self.con.get(url, params=params)
if not response:
Expand Down

0 comments on commit 537cc99

Please sign in to comment.