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

svtplay: only add desc if available

This commit is contained in:
Johan Andersson 2018-05-12 15:42:05 +02:00
parent bf21419afd
commit 81011d4b53

View File

@ -248,7 +248,7 @@ class Svtplay(Service, OpenGraphThumbMixin):
if not other: if not other:
other = desc other = desc
else: elif desc:
other += "-{}".format(desc) other += "-{}".format(desc)
self.output["title"] = name self.output["title"] = name