From a6da80645d19fc3f1120126d25f8f38d53f6b54e Mon Sep 17 00:00:00 2001 From: Halali Date: Sat, 29 Sep 2018 21:31:31 +0200 Subject: [PATCH] add fix for #151 to save_settings --- bazarr.py | 2 ++ 1 file changed, 2 insertions(+) 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')