mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-22 03:19:24 +01:00
Fix stats generation
This commit is contained in:
parent
3400e9b36b
commit
7eded09726
@ -66,9 +66,11 @@ class HtmlGenerator:
|
|||||||
images = ""
|
images = ""
|
||||||
if cnt % 3 == 0:
|
if cnt % 3 == 0:
|
||||||
cur = cnt
|
cur = cnt
|
||||||
images = "<TH ROWSPAN=4><IMG SRC=\"images/%d.png\"></TH><TH ROWSPAN=4><IMG SRC=\"images/%d.png\"></TH><TH ROWSPAN=4><IMG SRC=\"images/%d.png\"></TH>" % (cur, cur + 1, cur + 2)
|
images = "<TH ROWSPAN=3><IMG SRC=\"images/%d.png\"></TH><TH ROWSPAN=3><IMG SRC=\"images/%d.png\"></TH><TH ROWSPAN=3><IMG SRC=\"images/%d.png\"></TH>" % (cur, cur + 1, cur + 2)
|
||||||
outf.write("<TR><TD>%s</TD><TD> </TD>%s</TR>\n" % (item, images) )
|
outf.write("<TR><TD>%s</TD><TD> </TD>%s</TR>\n" % (item, images) )
|
||||||
cnt = cnt + 1
|
cnt = cnt + 1
|
||||||
|
if cnt >= 9:
|
||||||
|
break
|
||||||
outf.write("<TR><TD> </TD></TR>")
|
outf.write("<TR><TD> </TD></TR>")
|
||||||
outf.write("</TABLE>\n")
|
outf.write("</TABLE>\n")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user