diff options
| author | Alex <90010930+ajschofield@users.noreply.github.com> | 2020-07-31 01:04:42 +0100 |
|---|---|---|
| committer | Alex <90010930+ajschofield@users.noreply.github.com> | 2020-07-31 01:04:42 +0100 |
| commit | 3c716386de830086300564a360037370e91bc8c7 (patch) | |
| tree | 58508433484bedc9d97beef2318752ba6381b1e2 | |
| parent | 3f24937a5ad8605e4b297ba302511ac9b9b77a3c (diff) | |
| download | covid-tracker-2-3c716386de830086300564a360037370e91bc8c7.tar.gz covid-tracker-2-3c716386de830086300564a360037370e91bc8c7.zip | |
Removed testing code that was accidentally left in
| -rw-r--r-- | main.py | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -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): |
