Skip to content

Commit

Permalink
XKCD: Fix qrcode paste.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gadgetoid committed Dec 2, 2024
1 parent 2587883 commit e7f9aff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/xkcd/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def text_in_rect(canvas, text, font, color, rect, align='left', valign='top', li
draw = ImageDraw.Draw(output_image)

output_image.paste(image, (o_x, o_y, o_x + w, o_y + h))
output_image.paste(qr_image, (qr_x, qr_y, qr_x + w, qr_y + h))
output_image.paste(qr_image, (qr_x, qr_y, qr_x + qr_w, qr_y + qr_h))

text = metadata.get("alt")

Expand Down

0 comments on commit e7f9aff

Please sign in to comment.