Skip to content

Commit

Permalink
removed extra if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpodolak committed Feb 18, 2021
1 parent 6106ecd commit e197fa6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pmaw/Request.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ def save_resp(self, results):
def _add_nec_args(self, payload):
"""Adds arguments to the payload as necessary."""

if 'ids' not in payload:
payload['size'] = self.max_results_per_request
payload['size'] = self.max_results_per_request

if 'sort' not in payload:
payload['sort'] = 'desc'
Expand Down

0 comments on commit e197fa6

Please sign in to comment.