Skip to content

Commit b19a6d3

Browse files
authored
Fix: misleading code example in README
1 parent e71da86 commit b19a6d3

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

README.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,10 @@ and see the created barcode. That's it.
107107

108108
Commandline::
109109

110-
$ python-barcode create "My Text" outfile
110+
`$ python-barcode create "123456789000" outfile -b ean --text "text to appear under barcode" `
111111
New barcode saved as outfile.svg.
112+
113+
# This may not work if `ImageWriter` is None
112114
$ python-barcode create -t png "My Text" outfile
113115
New barcode saved as outfile.png.
114116

0 commit comments

Comments
 (0)