Skip to content

Commit 25a9ccb

Browse files
committed
pr review
1 parent ecec168 commit 25a9ccb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

feedly/api_client/enterprise/indicators_of_compromise.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,7 @@ def stream_bundles(self) -> Iterable[T]:
7979
if self.max_batches and batch_count >= self.max_batches:
8080
return
8181

82-
if (
83-
not self.newer_than and not self.older_than
84-
) or "link" not in resp.headers:
82+
if not self.newer_than or "link" not in resp.headers:
8583
return
8684
next_url = resp.headers["link"][1:].split(">")[0]
8785
continuation = parse_qs(next_url)["continuation"][0]

0 commit comments

Comments
 (0)