summaryrefslogtreecommitdiff
path: root/butler.py
blob: bb959256e0ce18215b538ee33deb57836ca6db18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import json
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.init_db()
i.populate_db()
i.opp_scores()
i.normalize_scores()