Skip to content

Commit

Permalink
Fix parsing repo base url
Browse files Browse the repository at this point in the history
  • Loading branch information
Denys Havrysh committed Feb 27, 2019
1 parent 6dc7e97 commit 6c2f5a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _modules/zoomdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def list_repos(compact=False):
if not int(repos[repo].get('enabled', 0)):
continue

url = urlparse.urlparse(repos[repo]['base_url'].strip())
url = urlparse.urlparse(repos[repo]['baseurl'].strip())
if not repo_config['base_url']:
repo_config['base_url'] = urlparse.urlunparse(
(url.scheme, url.netloc, '', '', '', ''))
Expand Down

0 comments on commit 6c2f5a7

Please sign in to comment.