summaryrefslogtreecommitdiff
path: root/butler.py
blob: 35a84d67c1291653ef323d17e4e109a02600c23c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import json
import __main__

from os import path

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()