Maybe this breaks the qr code?

This commit is contained in:
Víðir Valberg Guðmundsson 2019-08-09 12:11:37 +02:00
parent e2404b1778
commit adee7c58c4
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ def qr_code(value):
return mark_safe(
"<figure style='text-align: center;'>"
"<figcaption style='text-align: center;'>{}</figcaption>"
'<img src="data:image/png;base64,{}" alt="">'
"<figcaption style='text-align: center;'>{}</figcaption>"
"</figure>".format(data.decode(), value)
)