download manager improved to handle and cache all kinds of requests

This commit is contained in:
pseusys
2023-02-13 14:59:43 +01:00
parent c2f1fdc82d
commit 887ff2bdc8
6 changed files with 354 additions and 355 deletions

View File

@@ -18,9 +18,9 @@ class BarGraph:
def __init__(self, yearly_data):
self.yearly_data = yearly_data
def build_graph(self):
async def build_graph(self):
colors = run(DownloadManager.get_remote_yaml("linguist"))
colors = await DownloadManager.get_remote_yaml("linguist")
allColorsValues = []
# filter data