Fix Community Relative Path

This commit is contained in:
Alhaziel
2019-11-08 10:53:44 +01:00
parent dc81375150
commit e923cd2e0e

View File

@@ -57,7 +57,7 @@ def show_channels(item):
for key, channel in json['channels'].items():
# Find File Path
if 'http' in channel['path']: file_path = requests.get(channel['path']).url
if 'http' in channel['path']: file_path = httptools.downloadpage(channel['path'],follow_redirects=True).url
else: file_path = channel['path']
# make relative path