client-barcode: No longer print empty barcode on LCD display
This commit is contained in:
parent
0a86d9391c
commit
c532fdb551
|
@ -579,8 +579,8 @@ def main():
|
|||
if not l:
|
||||
break
|
||||
line = l.rstrip()
|
||||
print_display('\x0cBarcode:\n%20s' % line[:20])
|
||||
if line:
|
||||
print_display('\x0cBarcode:\n%20s' % line[:20])
|
||||
handle(line, status)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue