Created
February 26, 2026 07:43
-
-
Save CarstenG2/9abd615f33a00eebf13a3e3192948915 to your computer and use it in GitHub Desktop.
xShip: Fix ValueError in listings.py _call() when TMDB returns status_code 34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- a/resources/lib/indexers/listings.py | |
| +++ b/resources/lib/indexers/listings.py | |
| @@ -106,7 +106,7 @@ class listings: | |
| name = oRequestHandler.request() | |
| data = json.loads(name) | |
| if 'status_code' in data and data['status_code'] == 34: | |
| - return {} | |
| + return [], 0 | |
| list = [] | |
| for i in data['results']: | |
| list.append(i['id']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment