From 5400e399eef92e2e5ecdec5d348406a4ff5dc6e7 Mon Sep 17 00:00:00 2001 From: Roc136 <1361050885@qq.com> Date: Thu, 6 May 2021 22:37:22 +0800 Subject: [PATCH] fix bug --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 7df5df0..d682da1 100644 --- a/main.py +++ b/main.py @@ -454,7 +454,7 @@ def get_stats(github): stats = stats + generate_language_per_repo(repositoryList) + '\n\n' if showLocChart.lower() in truthy: - lloc = LinesOfCode(id, username, ghtoken, repositoryList, ignored_repos_name) + loc = LinesOfCode(id, username, ghtoken, repositoryList, ignored_repos_name) yearly_data = loc.calculateLoc() loc.plotLoc(yearly_data) stats += '**' + translate['Timeline'] + '**\n\n'