Skip to content

Commit

Permalink
Fix for RD api changes
Browse files Browse the repository at this point in the history
  • Loading branch information
westsurname authored Jul 16, 2024
1 parent 00333be commit 482e8c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions shared/debrid.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,8 @@ def _getInstantAvailability(self, refresh=False):

instantAvailabilities = instantAvailabilityRequest.json()
self.print('instantAvailabilities:', instantAvailabilities)
if not instantAvailabilities: return

instantAvailabilityHosters = next(iter(instantAvailabilities.values()))
if not instantAvailabilityHosters: return

Expand Down

0 comments on commit 482e8c4

Please sign in to comment.