From bdb2ea9e037b0e1e3e92aeb9721571fd38365543 Mon Sep 17 00:00:00 2001 From: emkael Date: Fri, 6 Jan 2017 00:30:53 +0100 Subject: Aggregating and firing page generation --- ausbutler/interface.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ausbutler') 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): -- cgit v1.2.3