diff --git a/platformcode/config.py b/platformcode/config.py index 1fdf6c8f..9def0e73 100644 --- a/platformcode/config.py +++ b/platformcode/config.py @@ -130,6 +130,7 @@ def get_channel_url(findhostMethod=None, name=None, forceFindhost=False): return url else: url = httptools.downloadpage(channels_data['direct'][name], follow_redirects=True, only_headers=True).url + if url.endswith('/'): url = url[:-1] return url