aboutsummaryrefslogtreecommitdiffhomepage
path: root/bazarr.py
diff options
context:
space:
mode:
authorHalali <[email protected]>2018-09-29 21:31:31 +0200
committerHalali <[email protected]>2018-09-29 21:31:31 +0200
commita6da80645d19fc3f1120126d25f8f38d53f6b54e (patch)
treebb1f985feaef9e80e02d87aeba2c47a2b6825d2c /bazarr.py
parent9611f18d71307bf04fbd1e37362bc5a09e38b19f (diff)
downloadbazarr-a6da80645d19fc3f1120126d25f8f38d53f6b54e.tar.gz
bazarr-a6da80645d19fc3f1120126d25f8f38d53f6b54e.zip
add fix for #151 to save_settings
Diffstat (limited to 'bazarr.py')
-rw-r--r--bazarr.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bazarr.py b/bazarr.py
index 067be61d1..3a90e25c4 100644
--- a/bazarr.py
+++ b/bazarr.py
@@ -800,6 +800,8 @@ def save_settings():
settings_general_ip = request.forms.get('settings_general_ip')
settings_general_port = request.forms.get('settings_general_port')
settings_general_baseurl = request.forms.get('settings_general_baseurl')
+ if settings_general_baseurl.endswith('/') is False:
+ settings_general_baseurl += '/'
settings_general_loglevel = request.forms.get('settings_general_loglevel')
settings_general_sourcepath = request.forms.getall('settings_general_sourcepath')
settings_general_destpath = request.forms.getall('settings_general_destpath')