File: png.py

package info (click to toggle)
python-qrcode 8.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 924 kB
  • sloc: python: 2,761; sh: 16; makefile: 11
file content (7 lines) | stat: -rw-r--r-- 171 bytes parent folder | download
1
2
3
4
5
6
7
# Try to import png library.
PngWriter = None

try:
    from png import Writer as PngWriter  # type: ignore  # noqa: F401
except ImportError:  # pragma: no cover
    pass