We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 39c1586 + e487660 commit 31c6000Copy full SHA for 31c6000
src/rmqrcode/rmqrcode.py
@@ -305,7 +305,7 @@ def _compute_format_info(self):
305
"""Computes format information with BCH code."""
306
format_information_data = self._qr_version["version_indicator"]
307
if self._error_correction_level == ErrorCorrectionLevel.H:
308
- format_information_data |= 1 << 6
+ format_information_data |= 1 << 5
309
reminder_polynomial = compute_bch(format_information_data)
310
format_information_data = format_information_data << 12 | reminder_polynomial
311
return format_information_data
0 commit comments