aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex <90010930+ajschofield@users.noreply.github.com>2020-07-31 01:04:42 +0100
committerAlex <90010930+ajschofield@users.noreply.github.com>2020-07-31 01:04:42 +0100
commit3c716386de830086300564a360037370e91bc8c7 (patch)
tree58508433484bedc9d97beef2318752ba6381b1e2
parent3f24937a5ad8605e4b297ba302511ac9b9b77a3c (diff)
downloadcovid-tracker-2-3c716386de830086300564a360037370e91bc8c7.tar.gz
covid-tracker-2-3c716386de830086300564a360037370e91bc8c7.zip
Removed testing code that was accidentally left in
-rw-r--r--main.py7
1 files changed, 0 insertions, 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):
git.ajschof.me — hosted by ajschofield — powered by cgit