mnooner256 / pyqrcode

Python 3 module to generate QR Codes
BSD 3-Clause "New" or "Revised" License
408 stars 75 forks source link

Negative numbers return the wrong mode #29

Closed heuer closed 9 years ago

heuer commented 9 years ago

Release 1.1 introduced a bug: https://github.com/mnooner256/pyqrcode/blob/master/pyqrcode/__init__.py#L280

Values like '-1' or -1 are valid integers but aren't supported by "numeric" mode. The encoder must use the "alphanumeric" mode.

mnooner256 commented 9 years ago

Fixed.