mirror of
https://github.com/wassname/psaw.git
synced 2026-08-20 12:40:32 +08:00
Bug fix for issue #30
This commit is contained in:
@@ -3,6 +3,8 @@ Change Log
|
||||
|
||||
dev
|
||||
------------------
|
||||
* Add `redditor_subreddit_activity` convenience method
|
||||
--> Needs demo in README
|
||||
* Fixed bug that blocked backoff on request issued to determine current rate limit when
|
||||
a new psaw instance is created.
|
||||
|
||||
|
||||
@@ -276,6 +276,8 @@ class PushshiftAPI(PushshiftAPIMinimal):
|
||||
gen = [self._get_submission_comment_ids(**kwargs)]
|
||||
|
||||
for batch in gen:
|
||||
if not batch:
|
||||
return
|
||||
if using_gsci:
|
||||
fullnames = [prefix + base36id for base36id in batch]
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user