From 3c716386de830086300564a360037370e91bc8c7 Mon Sep 17 00:00:00 2001 From: Alex <90010930+ajschofield@users.noreply.github.com> Date: Fri, 31 Jul 2020 01:04:42 +0100 Subject: Removed testing code that was accidentally left in --- main.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/main.py b/main.py index e4957bb..2c7d445 100644 --- a/main.py +++ b/main.py @@ -7,7 +7,6 @@ from datetime import datetime from plotnine import * from yaspin import yaspin import time -import webbrowser # VARIABLES AND INITIALISATION error_count = 0 @@ -97,12 +96,6 @@ cwd = os.path.dirname(os.path.realpath(__file__)) path_2 = Path("graphs/") path_to_graphs = cwd / path_2 -file_name_list = [] -file_name_list.append(str(path_to_graphs) + ('/cases_daily_' + str(date_today))) -file_name_list.append(str(path_to_graphs) + ('/deaths_change_daily_' + str(date_today))) -file_name_list.append(str(path_to_graphs) + ('/cumulative_cases_' + str(date_today))) -file_name_list.append(str(path_to_graphs) + ('/cumulative_deaths_' + str(date_today))) - with yaspin(text=" Checking if 'graphs' folder is present...", color="yellow") as spinner: time.sleep(1) if not os.path.exists(path_to_graphs): -- cgit v1.2.3