SerialFlashUnknownJedec constructor expects a bytes-like parameter jedec (since it is passed in hexlify()), however in some places a str is passed into the constructor instead (lines 227 and 249 of pyspiflash/serialflash.py):
raise SerialFlashUnknownJedec("Unable to read JEDEC Id")
SerialFlashUnknownJedecconstructor expects a bytes-like parameterjedec(since it is passed inhexlify()), however in some places a str is passed into the constructor instead (lines 227 and 249 of pyspiflash/serialflash.py):