summaryrefslogtreecommitdiff
path: root/f1elo/elo.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2014-10-15 22:38:08 +0200
committeremkael <emkael@tlen.pl>2014-10-15 22:38:08 +0200
commita6812fff6a67ec83bf9e8b711f7659412cd95269 (patch)
treec5854bda42e2d4f5444588ae2a06b581adbe29f0 /f1elo/elo.py
parentf1b990de03221a3ae4fc5d72582b5de9c1d3d2c1 (diff)
* universal directory separators
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)