mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-25 12:56:59 +01:00
Regenerate stats page when someone is removed, remove gibberish
This commit is contained in:
parent
4e9d876750
commit
3a0b3ee15a
@ -688,7 +688,7 @@ class Broker(SocketServer.UDPServer):
|
|||||||
|
|
||||||
self.data_store.remove_peer(peer)
|
self.data_store.remove_peer(peer)
|
||||||
stats.update_peer_nr(len(self.waiting_peers), len(self.active_peers))
|
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:
|
except Exception, e:
|
||||||
log_error("Could not remove %s (probably wrong version): %s" %
|
log_error("Could not remove %s (probably wrong version): %s" %
|
||||||
(str(peer.addr), str(e)))
|
(str(peer.addr), str(e)))
|
||||||
|
Loading…
Reference in New Issue
Block a user