Mega Lock-In
The 9 hours was logged in span of the last week. Didn`t get to devlog due to internet outage here in Sri Lanka.
Bugs Fixed
in core.py
-
_hex_to_rgb3-char hex crash:#000, #FFF, #F00 etc. causedinvalid literal for int() with base 16: ''. Added expansion of 3-char to 6-char before parsing
.-logo()crash:'QR' object has no attribute '_version_size'``logo()tried to computesize_px = int(self._version_size * ratio)but_version_sizedoesn’t exist on the QR object at call time (the matrix hasn’t been built yet). Fixed to computesize_pxlazily inside_get_logo_info()frommodule_count × box_size × ratio.
-logo(border=True)crash:invalid literal for int() with base 16: 'Tr'The_logo_borderattribute stores a bool, but was passed directly asborder_colortoembed_image()which called_hex_to_rgb(True)→_hex_to_rgb("True")→ crash. Fixed to pass"#000000" if self._logo_border else None. -
image_ops.py+animation.py—_hex_to_rgbNone guard
Addedif not c: return (0, 0, 0)guard so passingNoneas a color never crashes. - The
_color()validator didn’t strip surrounding shell-added quotes from color strings like “#FF0000”, causing # to be split off the hex digits. Fixed to strip"and'before processing.
Changes
- Corrected Micro QR capacity table (all 8 version/ECC combos with accurate numeric/alpha/byte limits)
- Fixed
logo()parameter docs (border is bool, not int)- Fixed double ```bash` in installation section - Corrected SMS encoding protocol note (sms: not smsto:)
Docs
- Added a more detailed info about MicroQR codes to
README.mdandDOCUMENTATION.md- Made a landing site with help of Claude.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.