FIX: Fixes #46

This commit is contained in:
Anmol
2020-08-08 17:24:50 +05:30
parent 3f60e55a2a
commit 35f140e067
2 changed files with 4 additions and 2 deletions

View File

@@ -311,6 +311,8 @@ Contributions are welcome! ♥! Please share any features, and add unit tests! U
- [Simranjeet Singh](https://github.com/smrnjeet222)
- [Aaron Meese](https://github.com/ajmeese7)
</details>

View File

@@ -83,7 +83,7 @@ query {
""")
get_loc_url = Template("""/repos/$owner/$repo/stats/code_frequency""")
get_profile_view = Template("""/repos/$owner/$repo/traffic/views""")
get_profile_view = Template("""/repos/$owner/$repo/traffic/views?per=week""")
get_profile_traffic = Template("""/repos/$owner/$repo/traffic/popular/referrers""")
@@ -374,7 +374,7 @@ def generate_language_per_repo(result):
})
title = 'I mostly code in ' + most_language_repo
return '**' + title + '** \n\n' + '```text\n' + make_commit_list(data) + '\n\n```\n'
return '**' + title + '** \n\n' + '```text\n' + make_list(data) + '\n\n```\n'
def get_line_of_code():