[hotleak] fix UnboundLocalError (#3288, #3293)

pull/3307/head
Mike Fährmann 2 years ago
parent 501d9bccfe
commit 72c5d26e85
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

@ -146,6 +146,7 @@ class HotleakCreatorExtractor(HotleakExtractor):
self.wait( self.wait(
until=exc.response.headers.get("X-RateLimit-Reset")) until=exc.response.headers.get("X-RateLimit-Reset"))
continue continue
raise
posts = response.json() posts = response.json()
if not posts: if not posts:

Loading…
Cancel
Save