diff options
author | emkael <emkael@tlen.pl> | 2014-10-15 22:38:08 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2014-10-15 22:38:08 +0200 |
commit | a6812fff6a67ec83bf9e8b711f7659412cd95269 (patch) | |
tree | c5854bda42e2d4f5444588ae2a06b581adbe29f0 /f1elo/elo.py | |
parent | f1b990de03221a3ae4fc5d72582b5de9c1d3d2c1 (diff) |
* universal directory separators
Diffstat (limited to 'f1elo/elo.py')
-rw-r--r-- | f1elo/elo.py | 2 |
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) |