forked from oostendo/python-zxing
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle raw_bits==None correctly in repr()
This should fix #36. Also adds tests to verify that `BarCode.parse()` results in a working `__repr__`, whether or not the "Raw bits:" section appears in the ZXing CLR output. However, I can't actually reproduce this condition using the "normal" entry point of `BarCodeReader.decode()` → `BarCode.parse()` on the latest version.
- Loading branch information
Showing
2 changed files
with
12 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters