def __init__(self, db):
"""Initialize the statistics.
- @type store: L{db.DB}
- @param store: the database for the Apt-P2P downloader
+ @type db: L{db.DB}
+ @param db: the database for the Apt-P2P downloader
"""
# Database
self.db = db
# General
out.write("<table border='1' cellpadding='4px'>\n")
out.write("<tr><th><h3>General</h3></th><th>Value</th></tr>\n")
- out.write("<tr title='Contact address for this peer'><td>Contact</td><td>" + str(uncompact(contactAddress)) + '</td></tr>\n')
+ out.write("<tr title='Contact address for this peer'><td>Contact</td><td>" + str(contactAddress) + '</td></tr>\n')
out.write("</table>\n")
out.write('</td><td>\n')