client-barcode: No longer print empty barcode on LCD display

This commit is contained in:
Sebastian Pipping 2011-10-17 23:16:57 +02:00
parent 0a86d9391c
commit c532fdb551
1 changed files with 1 additions and 1 deletions

View File

@ -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)