Skip to content

Commit

Permalink
fix github provider full_repo_url (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcovolpato00 authored Oct 5, 2020
1 parent e490636 commit bb999a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ghlicense/providers/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def get_repos(self):
# Iterate over the list of "github repos" and
# prepare a list of "repos" with properties of interest initialised.
for g_repo in g_repos:
raw_base_url = 'http://github.com/' + g_repo.full_name + '/blob/' + g_repo.default_branch + '%s/'
raw_base_url = 'http://github.com/' + g_repo.full_name + '/blob/' + g_repo.default_branch + '/'
repo_url = 'http://github.com/' + g_repo.full_name
repos.append(repobase.Repo(g_repo.full_name, raw_base_url, repo_url,
g_repo.default_branch, g_repo.fork))
Expand Down

0 comments on commit bb999a3

Please sign in to comment.