mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
fix comments
This commit is contained in:
parent
508258b362
commit
ba925ee07e
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user