From e197fa6fbbeb74fe43d39bc476bc3a675f38475b Mon Sep 17 00:00:00 2001 From: Matthew Podolak Date: Wed, 17 Feb 2021 19:01:19 -0500 Subject: [PATCH] removed extra if statement --- pmaw/Request.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pmaw/Request.py b/pmaw/Request.py index 8e1ecaf..0246a7f 100644 --- a/pmaw/Request.py +++ b/pmaw/Request.py @@ -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'