summaryrefslogtreecommitdiff
path: root/f1elo/elo.py
diff options
context:
space:
mode:
Diffstat (limited to 'f1elo/elo.py')
-rw-r--r--f1elo/elo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/f1elo/elo.py b/f1elo/elo.py
index 99c1fd7..5e6986c 100644
--- a/f1elo/elo.py
+++ b/f1elo/elo.py
@@ -9,7 +9,7 @@ from f1elo.model import *
class Elo:
def __init__(self, session):
self.session = session
- self.config = json.load(open(path.dirname(__main__.__file__) + '/config/elo.json'))
+ self.config = json.load(open(path.join(path.dirname(__main__.__file__), 'config', 'elo.json')))
def get_ranking(self, driver, rank_date=None):
rank = driver.get_ranking(rank_date)