From 38fd2fdb51c7621007025e94e6dcd9adaf99e72a Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Fri, 6 Sep 2019 22:06:33 +0200 Subject: [PATCH] svtplay: fix a crash with season and episode info fixes: #1136 --- lib/svtplay_dl/service/svtplay.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/svtplay_dl/service/svtplay.py b/lib/svtplay_dl/service/svtplay.py index 1cb80b2..7706003 100644 --- a/lib/svtplay_dl/service/svtplay.py +++ b/lib/svtplay_dl/service/svtplay.py @@ -283,8 +283,8 @@ class Svtplay(Service, MetadataThumbMixin): if not match: return season, episode - season = "{:02d}".format(match.group(1)) - episode = "{:02d}".format(match.group(2)) + season = "{:02d}".format(int(match.group(1))) + episode = "{:02d}".format(int(match.group(2))) return season, episode