fix comments

This commit is contained in:
wolflu05 2024-07-15 10:47:37 +02:00
parent 508258b362
commit ba925ee07e
No known key found for this signature in database
GPG Key ID: 9099EFC7C5EB963C

View File

@ -47,13 +47,13 @@ def qrcode(data, **kwargs):
base64 encoded image data
"""
# Construct params
# Extract other arguments from kwargs
fill_color = kwargs.pop('fill_color', 'black')
back_color = kwargs.pop('back_color', 'white')
image_format = kwargs.pop('format', 'PNG')
optimize = kwargs.pop('optimize', 1)
# Construct QR code params
# Construct QR code object
qr = QRCode(**{
'box_size': 20,
'border': 1,