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:
|
if not l:
|
||||||
break
|
break
|
||||||
line = l.rstrip()
|
line = l.rstrip()
|
||||||
print_display('\x0cBarcode:\n%20s' % line[:20])
|
|
||||||
if line:
|
if line:
|
||||||
|
print_display('\x0cBarcode:\n%20s' % line[:20])
|
||||||
handle(line, status)
|
handle(line, status)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue