summaryrefslogtreecommitdiff
path: root/ausbutler
diff options
context:
space:
mode:
Diffstat (limited to 'ausbutler')
-rw-r--r--ausbutler/interface.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/ausbutler/interface.py b/ausbutler/interface.py
index 5f194cd..bbbaeda 100644
--- a/ausbutler/interface.py
+++ b/ausbutler/interface.py
@@ -11,6 +11,12 @@ class Interface(object):
self.session = get_session()
self.config = config
+ def calculate_all(self):
+ self.init_db()
+ self.populate_db()
+ self.opp_scores()
+ self.normalize_scores()
+
def init_db(self, force=False):
from .model import Base
if force: