mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-10 21:55:11 +01:00
Update HTML on moving peers
This commit is contained in:
parent
2327d91ed2
commit
76c82882ad
@ -673,6 +673,10 @@ class Broker(SocketServer.UDPServer):
|
|||||||
except Exception, e:
|
except Exception, e:
|
||||||
log_error("Moving peer %s to active failed: %s" % (str(peer.addr), str(e)))
|
log_error("Moving peer %s to active failed: %s" % (str(peer.addr), str(e)))
|
||||||
stats.update_peer_nr(len(self.waiting_peers), len(self.active_peers))
|
stats.update_peer_nr(len(self.waiting_peers), len(self.active_peers))
|
||||||
|
try:
|
||||||
|
stats.generate_html(self.stat_html)
|
||||||
|
except Exception, e:
|
||||||
|
pass
|
||||||
|
|
||||||
def remove_peer(self, peer):
|
def remove_peer(self, peer):
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user