summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--greenpass/certificate.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/greenpass/certificate.py b/greenpass/certificate.py
index f8c0de6..0e6fdd9 100644
--- a/greenpass/certificate.py
+++ b/greenpass/certificate.py
@@ -37,8 +37,6 @@ class CertificateData(object):
try:
img = fitz.Pixmap(doc, xref)
data = img.tobytes(output="png")
- with open(f"/tmp/greenpass/{xref}.png", "wb") as f:
- f.write(data)
return cls.from_qr(BytesIO(data))
except IndexError:
pass