diff options
-rw-r--r-- | qemu.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -237,6 +237,9 @@ div.active { if "timestamp" in tabdata[tab]: with htmltag("p"): htmltext(self.unixtime2str(tabdata[tab]["timestamp"])) + if "text" in tabdata[tab]: + with htmltag("p"): + htmltext(tabdata[tab]["text"]) if "image" in tabdata[tab]: inline_image=self.image2src(tabdata[tab]["image"]) tabdata[tab]["image"].close() @@ -672,7 +675,7 @@ class vm: imagelog=[] refimage=Image.open(filename) now=datetime.now().timestamp() - imagelog.append({"name": filename, "timestamp": now, "image": refimage.copy()}) + imagelog.append({"name": "Reference", "text": filename, "image": refimage.copy()}) refimage.close() check=0 |