diff --git a/couchpotato/core/helpers/variable.py b/couchpotato/core/helpers/variable.py index e6c9f84..9406a20 100644 --- a/couchpotato/core/helpers/variable.py +++ b/couchpotato/core/helpers/variable.py @@ -113,8 +113,8 @@ def cleanHost(host): if not host.startswith(('http://', 'https://')): host = 'http://' + host - if not host.endswith('/'): - host += '/' + host = host.rstrip('/') + host += '/' return host