diff options
Diffstat (limited to 'butler.py')
-rw-r--r-- | butler.py | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -4,10 +4,9 @@ from os import path import __main__ from ausbutler.interface import Interface -config = json.load( - open(path.join(path.dirname(__main__.__file__), 'config', 'butler.json'))) -i = Interface(config) +i = Interface(json.load( + open(path.join(path.dirname(__main__.__file__), 'config', 'butler.json')))) i.init_db() i.populate_db() i.opp_scores() |