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

viafree: set episode name when its a text

fixes #941
This commit is contained in:
Johan Andersson 2018-08-19 19:03:06 +02:00
parent a6e2bae955
commit e7bc0c1abe

View File

@ -274,7 +274,7 @@ class Viaplay(Service, OpenGraphThumbMixin):
if episode:
try:
episode = int(episode)
except TypeError:
except (TypeError, ValueError):
title = episode
episode = None
else: