Regenerate stats page when someone is removed, remove gibberish

This commit is contained in:
simon.kagstrom 2010-02-27 07:22:28 +00:00
parent 4e9d876750
commit 3a0b3ee15a

View File

@ -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)))