Qemu VMs: only compute MD5 checksums for existing disks

This commit is contained in:
grossmj committed 2026-03-04 18:54:52 +08:00
1 parent 5b00529666
commit 8b245c96f8
5 files changed
+18 -18

No files matched your search

+1 -1
View File
@@ -115,7 +115,7 @@ class Drawing:
data = base64.decodebytes(data.split(",", 1)[1].encode())
# We compute an hash of the image file to avoid duplication
# We compute a hash of the image file to avoid duplication
filename = hashlib.md5(data).hexdigest() + "." + extension
elem.set(href, filename)