This commit is contained in:
jxxghp 2023-06-14 12:52:57 +08:00
parent e1f19b2ce0
commit 120d920356

View File

@ -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,