mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-25 12:56:59 +01:00
Fix image counting
This commit is contained in:
parent
ee1a80bdf4
commit
3400e9b36b
@ -64,7 +64,7 @@ class HtmlGenerator:
|
|||||||
cnt = 0
|
cnt = 0
|
||||||
for item in self.container.last_10:
|
for item in self.container.last_10:
|
||||||
images = ""
|
images = ""
|
||||||
if cnt % 4 == 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=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)
|
||||||
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) )
|
||||||
|
Loading…
Reference in New Issue
Block a user