diff options
author | emkael <emkael@tlen.pl> | 2017-01-05 11:07:11 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2017-01-05 11:07:11 +0100 |
commit | 830aaabd3e8105ad47460628587660cb496f507e (patch) | |
tree | b0c53342307f8261f7b9567ff0391256ccec0a27 /ausbutler | |
parent | b8f32665d6c12ee1de86e16e9b92dc081c1b0091 (diff) |
Refactoring - grouping calculation methods
Diffstat (limited to 'ausbutler')
-rw-r--r-- | ausbutler/interface.py | 6 |
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: |