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