Skip to content

Commit

Permalink
Merge pull request #126 from Zoomdata/dev/fix-repo-url-parsing
Browse files Browse the repository at this point in the history
Fix parsing repo base url
  • Loading branch information
vutny authored Feb 27, 2019
2 parents 6dc7e97 + 6c2f5a7 commit 13a2300
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 13a2300

Please sign in to comment.