summaryrefslogtreecommitdiffhomepage
path: root/bazarr.py
diff options
context:
space:
mode:
authorLouis Vézina <[email protected]>2018-06-14 12:46:52 -0400
committerLouis Vézina <[email protected]>2018-06-14 12:46:52 -0400
commit43d54823e39b23e9058db0048f8609515bca35f9 (patch)
treeb448dfb091952ac766e6cd64aab78ebf93dd3ae7 /bazarr.py
parent68880cbacba510b3914029f813364bf948eefc9d (diff)
downloadbazarr-43d54823e39b23e9058db0048f8609515bca35f9.tar.gz
bazarr-43d54823e39b23e9058db0048f8609515bca35f9.zip
Fix for #82
Diffstat (limited to 'bazarr.py')
-rw-r--r--bazarr.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/bazarr.py b/bazarr.py
index 0229c2574..dafa5de21 100644
--- a/bazarr.py
+++ b/bazarr.py
@@ -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')