summaryrefslogtreecommitdiff
path: root/ausbutler
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-01-06 00:30:53 +0100
committeremkael <emkael@tlen.pl>2017-01-06 00:30:53 +0100
commitbdb2ea9e037b0e1e3e92aeb9721571fd38365543 (patch)
tree3ebd755f3909b0bd30eddeb96ab9fceecb1f236a /ausbutler
parent187fcccf7d41508d10bde62ce47079b2d3f859a4 (diff)
Aggregating and firing page generation
Diffstat (limited to 'ausbutler')
-rw-r--r--ausbutler/interface.py5
1 files changed, 5 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):