tentative chopped QR issue fix
This commit is contained in:
parent
2e4e375196
commit
c9f27dc69a
|
@ -183,6 +183,7 @@ MEDIA-TYPE is one of (:image :video :audio :document)."
|
||||||
:keep t) ; Needed because async
|
:keep t) ; Needed because async
|
||||||
(format *debug-io* "~&using path ~A~%" path)
|
(format *debug-io* "~&using path ~A~%" path)
|
||||||
(cl-qrencode:encode-png-stream text stream)
|
(cl-qrencode:encode-png-stream text stream)
|
||||||
|
(force-output stream) ; otherwise the QR codes get chopped off?
|
||||||
(catcher
|
(catcher
|
||||||
(let ((content-length (file-length stream)))
|
(let ((content-length (file-length stream)))
|
||||||
(attach
|
(attach
|
||||||
|
|
Loading…
Reference in a new issue