You've already forked wakapi-readme-stats
Merge pull request #153 from aaditkamat/detect-branch
Detect main branch
This commit is contained in:
3
main.py
3
main.py
@@ -454,7 +454,8 @@ def get_stats(github):
|
||||
yearly_data = loc.calculateLoc()
|
||||
loc.plotLoc(yearly_data)
|
||||
stats += '**' + translate['Timeline'] + '**\n\n'
|
||||
stats = stats + ' \n\n'
|
||||
branch_name = github.get_repo(f'{username}/{username}').default_branch
|
||||
stats = stats + ' \n\n'
|
||||
|
||||
return stats
|
||||
|
||||
|
||||
Reference in New Issue
Block a user