gassajor000 / pn532pi

Python interface for ndef communication using PN532 chip on raspberry pi
33 stars 19 forks source link

examples/mifareclassic_ndeftoclassic.py reports "TypeError" in Line 111 and 128 #13

Closed tloehr closed 6 months ago

tloehr commented 6 months ago

This is only a minor -side- issue, but could confuse the user.

Had to fix both lines like this:

blockBuffer = bytearray('\x00' * 16, encoding="utf-8")

You may want to fix it in the source.

Occured on Raspbian 1:6.1.63-1+rpt1 (2023-11-24) armv6l GNU/Linux Python 3.11.2

gassajor000 commented 6 months ago

Good catch, will fix in the next patch.

gassajor000 commented 6 months ago

Good catch, will fix in the next patch.