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