Skip to content

Commit

Permalink
fix: corrected rate limit for Torrentio
Browse files Browse the repository at this point in the history
  • Loading branch information
dreulavelle committed Sep 21, 2024
1 parent 591b07a commit 540ba52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/program/scrapers/torrentio.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def __init__(self):
self.initialized: bool = self.validate()
if not self.initialized:
return
self.rate_limiter: RateLimiter | None = RateLimiter(max_calls=1, period=5) if self.ratelimit else None
self.rate_limiter: RateLimiter = RateLimiter(max_calls=1, period=5)
logger.success("Torrentio initialized!")

def validate(self) -> bool:
Expand Down

0 comments on commit 540ba52

Please sign in to comment.