Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo in TagWriter.py #3

Open
kimble4 opened this issue Jan 23, 2024 · 0 comments
Open

Typo in TagWriter.py #3

kimble4 opened this issue Jan 23, 2024 · 0 comments

Comments

@kimble4
Copy link

kimble4 commented Jan 23, 2024

Looks like there's a typo in TagWriter.py:

def hexToBytes( epc ):
	assert len(epc) % 2 == 0, 'epc must be a byte multiple'
	return codec.decode(epc, 'hex_codec')

It should be codecs.decode, as the imported library is codecs

This function is only called if you specify a value for epcOld, hence this doesn't cause a problem for TagReadWrite.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant