mirror of
https://github.com/openharmony/third_party_qrcodegen.git
synced 2026-07-18 17:55:48 -04:00
Tweaked comment and blank line in QrCode constructor in some languages.
This commit is contained in:
+2
-1
@@ -176,7 +176,7 @@ class QrCode(object):
|
||||
allcodewords = self._add_ecc_and_interleave(datacodewords)
|
||||
self._draw_codewords(allcodewords)
|
||||
|
||||
# Handle masking
|
||||
# Do masking
|
||||
if mask == -1: # Automatically choose best mask
|
||||
minpenalty = 1 << 32
|
||||
for i in range(8):
|
||||
@@ -191,6 +191,7 @@ class QrCode(object):
|
||||
self._draw_format_bits(mask) # Overwrite old format bits
|
||||
self._apply_mask(mask) # Apply the final choice of mask
|
||||
self._mask = mask
|
||||
|
||||
del self._isfunction
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user