Commit 8028ae97 authored by echel0n's avatar echel0n

Default subtitle language of English choosen if no language is specified in subtitle settings

parent 5eef56ea
# Changelog
- * 80309e2 - 2018-11-11: Pre-Release v9.4.29.dev1
- * 3aa405c - 2018-11-11: Default subtitle language of English choosen if no language is specified in subtitle settings
- * 5eef56e - 2018-11-11: Pre-Release v9.4.29.dev1
- * eca1d42 - 2018-11-11: Refactored naming convention of misc helper functions. Added ability to disable stripping of special permissions from files.
- * 63f98ef - 2018-11-11: Cleaned up subtitles code.
- * 1558dce - 2018-11-10: Fixed issue with displaying language flags in views
......
......@@ -4799,7 +4799,7 @@ class ConfigSubtitles(Config):
x.strip()]
# Subtitle languages
sickrage.app.config.subtitles_languages = kwargs['subtitles_languages[]']
sickrage.app.config.subtitles_languages = kwargs.get('subtitles_languages[]', 'eng')
if not isinstance(sickrage.app.config.subtitles_languages, list):
sickrage.app.config.subtitles_languages = [sickrage.app.config.subtitles_languages]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment