Skip to content

Commit

Permalink
Merge pull request #312 from NTFSvolume/real_debrid_startup
Browse files Browse the repository at this point in the history
  • Loading branch information
jbsparrow authored Nov 23, 2024
2 parents 34eabec + 6be9544 commit ff47728
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cyberdrop_dl/managers/realdebrid_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ def __init__(self, manager: Manager) -> None:

def startup(self) -> None:
"""Startup process for Real Debrid manager."""
if not self.enabled:
return
try:
self.api = RealDebridApi(self.__api_token, True)
file_regex = [pattern[1:-1] for pattern in self.api.hosts.regex()]
Expand Down

0 comments on commit ff47728

Please sign in to comment.