mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-22 20:00:15 +00:00
fix clean exit if no subtitles selected
This commit is contained in:
parent
656a0c7327
commit
af8e01cd8c
@ -27,6 +27,7 @@ class YoutubeSubtitle:
|
||||
def sub_conf_parse(self):
|
||||
"""add additional conf values to self"""
|
||||
languages_raw = self.video.config["downloads"]["subtitle"]
|
||||
if languages_raw:
|
||||
self.languages = [i.strip() for i in languages_raw.split(",")]
|
||||
|
||||
def get_subtitles(self):
|
||||
|
Loading…
Reference in New Issue
Block a user