From 6d6a6a8ac331135aa26320c532f47f25872d4243 Mon Sep 17 00:00:00 2001 From: Rasmus Luha Date: Thu, 17 Mar 2022 18:04:24 +0200 Subject: fix importing modules, add readme --- api/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'api/utils.py') diff --git a/api/utils.py b/api/utils.py index c04bdf1..069f072 100644 --- a/api/utils.py +++ b/api/utils.py @@ -2,8 +2,8 @@ import pandas as pd # Making relative paths. On windows slashes would be backwards # It is probably not the best way. -relPathTeams = "../AllAboutData/Data/NBAteams.csv" -relPathPlayers = "../AllAboutData/Data/Players/" +relPathTeams = "../../AllAboutData/Data/NBAteams.csv" +relPathPlayers = "../../AllAboutData/Data/Players/" def getTeamNames(): ''' -- cgit v1.2.3