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.
1 parent 8b4f85d commit e487660Copy full SHA for e487660
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