Move the HTML stats page generation for the DHT into the stats module.
[quix0rs-apt-p2p.git] / apt_p2p_Khashmir / khashmir.py
index 48a0c0c5ee6801d07cfdb163a54d7f89297bea1e..3ed7baf31b6f93c4b0e7583f69641bc8374e0f84 100644 (file)
@@ -301,7 +301,7 @@ class KhashmirBase(protocol.Factory):
     
     def getStats(self):
         """Gather the statistics for the DHT."""
-        return self.stats.gather()
+        return self.stats.formatHTML()
 
     #{ Remote interface
     def krpc_ping(self, id, _krpc_sender):