diff --git a/Src/network-broker/stats.py b/Src/network-broker/stats.py index b298484..cd111af 100644 --- a/Src/network-broker/stats.py +++ b/Src/network-broker/stats.py @@ -40,9 +40,9 @@ class HtmlGenerator: outf.write("\n") outf.write("

Frodo-Wii network statistics

\n") - outf.write("The total number of connections is %d
\n" % (self.container.total_connections)) + outf.write("The total number of connections is %d

\n" % (self.container.total_connections)) outf.write("\n") - outf.write("\n" % + outf.write("\n" % (len(self.container.last_10)) ) cnt = 0 @@ -51,16 +51,18 @@ class HtmlGenerator: if cnt % 4 == 0: cur = cnt images = "" % (cur, cur + 1, cur + 2, cur + 3) - outf.write("%s\n" % (item, images) ) + outf.write("%s\n" % (item, images) ) cnt = cnt + 1 + outf.write("") outf.write("

Last %d connections

Random screenshots

Last %d connections

 

Random screenshots

%s
%s 
 
\n") - outf.write("\n") + outf.write("

\n") outf.write("\n") count = 1 for country, num in sorted_countries: - outf.write("%3d. %s (%d)
\n" % (count, country, num) ) + outf.write("\n" % (count, country, num) ) count = count + 1 + outf.write("

Country list

%3d %s (%d)
\n") outf.write("\n")