mirror of
https://github.com/status-im/QR-Code-generator.git
synced 2026-08-31 01:31:10 +00:00
Deleted comment and calculated the constant in QrCode.getNumRawDataModules() in all language versions except Java, because only the Java code explains the calculation in detail.
This commit is contained in:
+1
-1
@@ -515,7 +515,7 @@ class QrCode(object):
|
||||
numalign = ver // 7 + 2
|
||||
result -= (25 * numalign - 10) * numalign - 55
|
||||
if ver >= 7:
|
||||
result -= 18 * 2 # Subtract version information
|
||||
result -= 36
|
||||
return result
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user