From a6812fff6a67ec83bf9e8b711f7659412cd95269 Mon Sep 17 00:00:00 2001 From: emkael Date: Wed, 15 Oct 2014 22:38:08 +0200 Subject: * universal directory separators --- f1elo/elo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'f1elo/elo.py') 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) -- cgit v1.2.3