Ignore empty input lines rather than trying to find a barcode to match them

This commit is contained in:
Sebastian Pipping 2011-10-10 07:36:19 +02:00
parent 7242261f16
commit 5fffd09053
1 changed files with 2 additions and 1 deletions

View File

@ -322,7 +322,8 @@ def main():
if not l: if not l:
break break
line = l.rstrip() line = l.rstrip()
handle(line, status) if line:
handle(line, status)
if __name__ == '__main__': if __name__ == '__main__':