Log when consumable labels are printed
This commit is contained in:
parent
40d676761b
commit
8234232125
2
main.py
2
main.py
|
@ -430,6 +430,8 @@ def print_consumable_label(item):
|
||||||
width, height = im.size
|
width, height = im.size
|
||||||
draw = ImageDraw.Draw(im)
|
draw = ImageDraw.Draw(im)
|
||||||
|
|
||||||
|
logging.info('Printing consumable label item: %s', item)
|
||||||
|
|
||||||
encodeded = urllib.parse.quote(item)
|
encodeded = urllib.parse.quote(item)
|
||||||
url = 'https://spaceport.dns.t0.vc/out-of-stock?item=' + encodeded
|
url = 'https://spaceport.dns.t0.vc/out-of-stock?item=' + encodeded
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user