diff options
author | Louis Vézina <[email protected]> | 2018-06-14 12:46:52 -0400 |
---|---|---|
committer | Louis Vézina <[email protected]> | 2018-06-14 12:46:52 -0400 |
commit | 43d54823e39b23e9058db0048f8609515bca35f9 (patch) | |
tree | b448dfb091952ac766e6cd64aab78ebf93dd3ae7 /bazarr.py | |
parent | 68880cbacba510b3914029f813364bf948eefc9d (diff) | |
download | bazarr-43d54823e39b23e9058db0048f8609515bca35f9.tar.gz bazarr-43d54823e39b23e9058db0048f8609515bca35f9.zip |
Fix for #82
Diffstat (limited to 'bazarr.py')
-rw-r--r-- | bazarr.py | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -257,8 +257,15 @@ def edit_series(no): else:
lang = 'None'
- if str(lang) == "['']":
- lang = '[]'
+ single_language = get_general_settings()[7]
+ if single_language == 'True':
+ if str(lang) == "['None']":
+ lang = 'None'
+ else:
+ lang = str(lang)
+ else:
+ if str(lang) == "['']":
+ lang = '[]'
hi = request.forms.get('hearing_impaired')
|