Maybe this breaks the qr code?
This commit is contained in:
parent
e2404b1778
commit
adee7c58c4
|
@ -17,7 +17,7 @@ def qr_code(value):
|
||||||
|
|
||||||
return mark_safe(
|
return mark_safe(
|
||||||
"<figure style='text-align: center;'>"
|
"<figure style='text-align: center;'>"
|
||||||
"<figcaption style='text-align: center;'>{}</figcaption>"
|
|
||||||
'<img src="data:image/png;base64,{}" alt="">'
|
'<img src="data:image/png;base64,{}" alt="">'
|
||||||
|
"<figcaption style='text-align: center;'>{}</figcaption>"
|
||||||
"</figure>".format(data.decode(), value)
|
"</figure>".format(data.decode(), value)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue