add status statements

This commit is contained in:
fordprefect
2021-01-25 12:51:27 +01:00
parent 71c4ef8065
commit 3f7f23882e

View File

@@ -74,7 +74,7 @@ def get_data():
datafile = f"data/{date}-full-data.csv" datafile = f"data/{date}-full-data.csv"
if not os.path.isfile(datafile): if not os.path.isfile(datafile):
print("==> downloading data")
for n in range(tries): for n in range(tries):
try: try:
r = requests.get(dataurl) r = requests.get(dataurl)
@@ -265,5 +265,6 @@ if False:
exit() exit()
for plot in plots: for plot in plots:
print(f"==> starting plot: {plot}")
i = importlib.import_module(plot) i = importlib.import_module(plot)
i.plot(data, countries, pop, metadata=metadata) i.plot(data, countries, pop, metadata=metadata)