Skip to content

Commit

Permalink
Fix black
Browse files Browse the repository at this point in the history
  • Loading branch information
Watchful1 committed Dec 2, 2022
1 parent bd0c7e4 commit 3493a52
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion praw/models/listing/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ def _next_batch(self):
if not self._listing:
raise StopIteration()

if self._listing.after and self._listing.after != self.params.get(self._listing.AFTER_PARAM):
if self._listing.after and self._listing.after != self.params.get(
self._listing.AFTER_PARAM
):
self.params[self._listing.AFTER_PARAM] = self._listing.after
else:
self._exhausted = True

0 comments on commit 3493a52

Please sign in to comment.