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

encoder.encode() won't create a M1 symbol since error is set to "M" #4

Closed
heuer opened this issue Aug 16, 2016 · 0 comments
Closed
Labels
Milestone

Comments

@heuer
Copy link
Owner

heuer commented Aug 16, 2016

>>> from segno import encoder
>>> qr = encoder.encode(0)
>>> # Expect M1
>>> encoder.get_version_name(qr.version)
'M2'
>>> qr.error is None
False
@heuer heuer added the bug label Aug 16, 2016
@heuer heuer added this to the 0.1.2 milestone Aug 16, 2016
heuer added a commit that referenced this issue Aug 16, 2016
heuer added a commit that referenced this issue Aug 17, 2016
* encode(..., error='m', ...) would not create a M1 Code, changed to error=None. Fixes issue #4
@heuer heuer closed this as completed Aug 17, 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