From 120d920356a1a9c5dba7e8cfc8c61e8fab04f7c2 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Wed, 14 Jun 2023 12:52:57 +0800 Subject: [PATCH] fix --- app/api/servarr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/servarr.py b/app/api/servarr.py index 80535634..e862ae58 100644 --- a/app/api/servarr.py +++ b/app/api/servarr.py @@ -483,7 +483,7 @@ async def arr_series_lookup(apikey: str, term: str, db: Session = Depends(get_db if tmdbinfo: season_num = tmdbinfo.get('season') if season_num: - seasons = list(range(1, season_num + 1)) + seasons = list(range(1, int(season_num) + 1)) if subscribe: return [SonarrSeries( id=subscribe.id,