From 7524123c88370ea99e61731b7f464a81db5330ad Mon Sep 17 00:00:00 2001
From: Brandon Rodriguez <brodriguez8774@gmail.com>
Date: Tue, 19 May 2020 02:13:30 -0400
Subject: [PATCH] Update data file read in locations

---
 main.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/main.py b/main.py
index 2dd23e3..a3b60cb 100644
--- a/main.py
+++ b/main.py
@@ -197,7 +197,7 @@ def calc_part_1():
     student_array = []
 
     # Open file.
-    with open('./documents/data.online.scores.txt', 'r') as student_scores_file:
+    with open('./documents/data/data.online.scores.txt', 'r') as student_scores_file:
         # Read in each line and save to our struct.
         for line in student_scores_file:
             # Split on tabs.
@@ -246,7 +246,7 @@ def calc_part_2():
     student_array = []
 
     # Open file.
-    with open('./documents/data.online.scores.txt', 'r') as student_scores_file:
+    with open('./documents/data/data.online.scores.txt', 'r') as student_scores_file:
         # Read in each line and save to our struct.
         for line in student_scores_file:
             # Split on tabs.
@@ -331,7 +331,7 @@ def calc_part_3():
     lib_array = []
 
     # Open file.
-    with open('./documents/data.libraries.inventories.txt', 'r') as student_scores_file:
+    with open('./documents/data/data.libraries.inventories.txt', 'r') as student_scores_file:
         # Read in each line and save to our struct.
         for line in student_scores_file:
             # Split on tabs.
-- 
GitLab