You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for me the CRC=$(python -c "import crc8;h=crc8.crc8();h.update('$ID'.decode('hex'));print(h.hexdigest())") command only works with python2 while python3 throws AttributeError: 'str' object has no attribute 'decode'. i think there might be some people out there whose python points to python3, not python2. maybe specify this to avoid confusion?
The text was updated successfully, but these errors were encountered:
for me the
CRC=$(python -c "import crc8;h=crc8.crc8();h.update('$ID'.decode('hex'));print(h.hexdigest())")
command only works with python2 while python3 throwsAttributeError: 'str' object has no attribute 'decode'
. i think there might be some people out there whosepython
points to python3, not python2. maybe specify this to avoid confusion?The text was updated successfully, but these errors were encountered: