summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qemu.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/qemu.py b/qemu.py
index 8cb3583..9aeb1ae 100644
--- a/qemu.py
+++ b/qemu.py
@@ -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