From 3a0b3ee15ac9a794e53198a4bfff05e9c6df757c Mon Sep 17 00:00:00 2001 From: "simon.kagstrom" Date: Sat, 27 Feb 2010 07:22:28 +0000 Subject: [PATCH] Regenerate stats page when someone is removed, remove gibberish --- network-broker/network-broker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network-broker/network-broker b/network-broker/network-broker index 2ad0945..306ba80 100755 --- a/network-broker/network-broker +++ b/network-broker/network-broker @@ -688,7 +688,7 @@ class Broker(SocketServer.UDPServer): self.data_store.remove_peer(peer) stats.update_peer_nr(len(self.waiting_peers), len(self.active_peers)) - print "VOBB: ", len(self.waiting_peers), len(self.active_peers) + stats.generate_html(self.stat_html) except Exception, e: log_error("Could not remove %s (probably wrong version): %s" % (str(peer.addr), str(e)))