diff options
-rw-r--r-- | ausbutler/interface.py | 5 | ||||
-rw-r--r-- | butler.py | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/ausbutler/interface.py b/ausbutler/interface.py index 27ad703..b100a1d 100644 --- a/ausbutler/interface.py +++ b/ausbutler/interface.py @@ -78,6 +78,11 @@ class Interface(object): butler, self.config['opponent_factor']) self.session.commit() + def generate_all(self): + self.generate_segments() + self.generate_frames() + self.generate_table() + def generate_frames(self): template = self.template.get_template('frame.html') for round_no in range(1, Constants.rnd + 1): @@ -4,3 +4,4 @@ from ausbutler.interface import Interface i = Interface(load_config('butler')) i.calculate_all() +i.generate_all() |