From 540ba528797637e77accb9f66f7e38c58869b9d1 Mon Sep 17 00:00:00 2001 From: Spoked Date: Sat, 21 Sep 2024 07:56:14 -0400 Subject: [PATCH] fix: corrected rate limit for Torrentio --- src/program/scrapers/torrentio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/program/scrapers/torrentio.py b/src/program/scrapers/torrentio.py index 9b09a7a0..27cf66b0 100644 --- a/src/program/scrapers/torrentio.py +++ b/src/program/scrapers/torrentio.py @@ -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: