diff --git a/bitshift/crawler/indexer.py b/bitshift/crawler/indexer.py index 529a964..6c51a47 100644 --- a/bitshift/crawler/indexer.py +++ b/bitshift/crawler/indexer.py @@ -186,7 +186,7 @@ class GitIndexer(threading.Thread): """ if repo.framework_name == "GitHub": - default_branch = repo.repo.active_branch + default_branch = repo.repo.active_branch.name parts = [repo.url, "blob", default_branch, filename] elif repo.framework_name == "Bitbucket": try: