Skip to content

Commit

Permalink
maxResults, not maxItems
Browse files Browse the repository at this point in the history
  • Loading branch information
jay0lee authored Apr 20, 2018
1 parent 8051562 commit 374a075
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gyb.py
Original file line number Diff line number Diff line change
Expand Up @@ -1781,7 +1781,7 @@ def main(argv):
messages_to_process = callGAPIpages(service=gmail.users().messages(),
function='list', items='messages', page_message=page_message,
userId='me', includeSpamTrash=options.spamtrash, q=options.gmail_search,
maxItems=500, fields='nextPageToken,messages/id')
maxResults=500, fields='nextPageToken,messages/id')
estimate_path = options.local_folder
if not os.path.isdir(estimate_path):
os.mkdir(estimate_path)
Expand Down

0 comments on commit 374a075

Please sign in to comment.