From 1e72130586dfea2d6b3e92a1e6e727f467df2217 Mon Sep 17 00:00:00 2001 From: Anmol Date: Thu, 30 Jul 2020 18:31:09 +0530 Subject: [PATCH] FEAT: NEW GRAPH MODULE --- make_bar_graph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make_bar_graph.py b/make_bar_graph.py index a2b16ee..9f4cf0f 100644 --- a/make_bar_graph.py +++ b/make_bar_graph.py @@ -16,7 +16,7 @@ class BarGraph: def build_graph(self): - with open('./colors.json') as f: + with open(os.path.join(os.path.dirname(__file__), 'colors.json')) as f: colors = json.load(f) allColorsValues = []