chart file is being copied properly

This commit is contained in:
pseusys
2023-03-19 17:33:35 +01:00
parent fb4d71bec9
commit 52f09f4991

View File

@@ -1,3 +1,4 @@
from asyncio import sleep
from json import dumps from json import dumps
from re import search from re import search
from datetime import datetime from datetime import datetime
@@ -81,3 +82,6 @@ async def update_data_with_commit_stats(repo_details: Dict, yearly_data: Dict, d
yearly_data[curr_year][quarter][repo_details["primaryLanguage"]["name"]] = {"add": 0, "del": 0} yearly_data[curr_year][quarter][repo_details["primaryLanguage"]["name"]] = {"add": 0, "del": 0}
yearly_data[curr_year][quarter][repo_details["primaryLanguage"]["name"]]["add"] += commit["additions"] yearly_data[curr_year][quarter][repo_details["primaryLanguage"]["name"]]["add"] += commit["additions"]
yearly_data[curr_year][quarter][repo_details["primaryLanguage"]["name"]]["del"] += commit["deletions"] yearly_data[curr_year][quarter][repo_details["primaryLanguage"]["name"]]["del"] += commit["deletions"]
if not EM.DEBUG_RUN:
await sleep(0.4)