Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boost_error=True creates invalid QR Codes #23

Closed
heuer opened this issue Sep 15, 2016 · 0 comments
Closed

boost_error=True creates invalid QR Codes #23

heuer opened this issue Sep 15, 2016 · 0 comments
Labels
Milestone

Comments

@heuer
Copy link
Owner

heuer commented Sep 15, 2016

>>> import segno
>>> qr = segno.make('http://www.example.org/bla/bla/')
>>> qr.show()  # Does not scan
>>> qr.designator
'3-H'
>>> qr = segno.make('http://www.example.org/bla/bla/', boost_error=False)
>>> qr.show()  # Works!
>>> qr.designator
'3-M'
>>> # Setting the error level to 'H' works, too
>>> qr = segno.make('http://www.example.org/bla/bla/', error='h')
>>> qr.show()  # Works!
>>> qr.designator
'4-H'
>>> # boost_error should choose error level "Q" which does not change the QR Code version
>>> qr = segno.make('http://www.example.org/bla/bla/', boost_error=False, error='q')
>>> qr.show()  # Works!
>>> qr.designator
'3-Q'
@heuer heuer added the bug label Sep 15, 2016
@heuer heuer added this to the 0.1.9 milestone Sep 15, 2016
@heuer heuer closed this as completed in 090e844 Sep 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant