1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-27 21:54:17 +01:00

svtplay: fix a crash with season and episode info

fixes: #1136
This commit is contained in:
Johan Andersson 2019-09-06 22:06:33 +02:00
parent ba14bf3ed5
commit 38fd2fdb51

View File

@ -283,8 +283,8 @@ class Svtplay(Service, MetadataThumbMixin):
if not match: if not match:
return season, episode return season, episode
season = "{:02d}".format(match.group(1)) season = "{:02d}".format(int(match.group(1)))
episode = "{:02d}".format(match.group(2)) episode = "{:02d}".format(int(match.group(2)))
return season, episode return season, episode