Generate html at startup

This commit is contained in:
simon.kagstrom 2009-11-03 17:26:28 +00:00
parent 45ee58ac8d
commit 6b27bcbb86

View File

@ -382,6 +382,7 @@ class Broker(SocketServer.UDPServer):
self.image_dir = image_dir self.image_dir = image_dir
stats.load(self.stat_data) stats.load(self.stat_data)
stats.generate_html(self.stat_html)
def log_connection(self, who, country): def log_connection(self, who, country):
stats.add_connection(who, country) stats.add_connection(who, country)