From f7b5be62754881fc7b80d05a9fd0c9f4301270d7 Mon Sep 17 00:00:00 2001 From: Anmol Date: Tue, 21 Jul 2020 01:58:53 +0530 Subject: [PATCH] FIX: UI CHANGES FOR THE METRICS --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 091dcaa..3752b7b 100644 --- a/main.py +++ b/main.py @@ -121,7 +121,7 @@ def generate_commit_list(): username = result["data"]["viewer"]["login"] id = result["data"]["viewer"]["id"] print("user {} id {}".format(username, id)) - print("on new version"); + print("on new version") result = run_query(createContributedRepoQuery.substitute(username=username)) nodes = result["data"]["user"]["repositoriesContributedTo"]["nodes"] @@ -160,7 +160,7 @@ def generate_commit_list(): {"name": "🌙 Night", "text": str(night) + " commits", "percent": round((night / sumAll) * 100, 2)}, ] - return '**' + title + '** \n\n' + '```text\n' + make_commit_list(one_day) + '```' + return '**' + title + '** \n\n' + '```text\n' + make_commit_list(one_day) + '\n\n```\n' def get_stats():