Skip to content
This repository was archived by the owner on May 7, 2026. It is now read-only.

Commit a71f6ae

Browse files
committed
Fix inconsistency in description of False-y BarCode
Refer to `path` field, not `uri`, per e941beb.
1 parent 800bd1b commit a71f6ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The attributes of the decoded `BarCode` object are `raw`, `parsed`, `path`, `for
3232
[here](https://zxing.github.io/zxing/apidocs/com/google/zxing/BarcodeFormat.html).
3333

3434
The `decode()` method accepts an image path (or list of paths) and takes optional parameters `try_harder` (boolean), `possible_formats` (list of formats to consider), and `pure_barcode` (boolean).
35-
If no barcode is found, it returns a `False`-y `BarCode` object with all fields except `uri` set to `None`.
35+
If no barcode is found, it returns a `False`-y `BarCode` object with all fields except `path` set to `None`.
3636
If it encounters any other recognizable error from the Java ZXing library, it raises `BarCodeReaderException`.
3737

3838
## Command-line interface

0 commit comments

Comments
 (0)