diff --git a/examples/data/Python/rx_data.py b/examples/data/Python/rx_data.py index 2db1114..dcfbbcb 100644 --- a/examples/data/Python/rx_data.py +++ b/examples/data/Python/rx_data.py @@ -35,7 +35,7 @@ class struct(object): print('{}{} | {}'.format(testStruct.z, testStruct.y, arr)) - elif link.status < 0: + elif link.status <= 0: if link.status == txfer.CRC_ERROR: print('ERROR: CRC_ERROR') elif link.status == txfer.PAYLOAD_ERROR: diff --git a/examples/datum/Python/rx_datum.py b/examples/datum/Python/rx_datum.py index a4dfab8..bc8d43c 100644 --- a/examples/datum/Python/rx_datum.py +++ b/examples/datum/Python/rx_datum.py @@ -17,7 +17,7 @@ y = link.rx_obj(obj_type='f') print(y) - elif link.status < 0: + elif link.status <= 0: if link.status == txfer.CRC_ERROR: print('ERROR: CRC_ERROR') elif link.status == txfer.PAYLOAD_ERROR: diff --git a/examples/file/Python/rx_file.py b/examples/file/Python/rx_file.py index f670beb..4a1e202 100644 --- a/examples/file/Python/rx_file.py +++ b/examples/file/Python/rx_file.py @@ -27,7 +27,7 @@ print(nextContents, end='') - elif link.status < 0: + elif link.status <= 0: if link.status == txfer.CRC_ERROR: print('ERROR: CRC_ERROR') elif link.status == txfer.PAYLOAD_ERROR: diff --git a/setup.py b/setup.py index 0ca9ca7..545040c 100644 --- a/setup.py +++ b/setup.py @@ -6,14 +6,14 @@ setup( name = 'pySerialTransfer', packages = ['pySerialTransfer'], - version = '2.6.8', + version = '2.6.9', description = 'Python package used to transmit and receive low overhead byte packets - especially useful for PC<-->Arduino USB communication (compatible with https://github.com/PowerBroker2/SerialTransfer)', long_description = long_description, long_description_content_type = "text/markdown", author = 'Power_Broker', author_email = 'gitstuff2@gmail.com', url = 'https://github.com/PowerBroker2/pySerialTransfer', - download_url = 'https://github.com/PowerBroker2/pySerialTransfer/archive/2.6.8.tar.gz', + download_url = 'https://github.com/PowerBroker2/pySerialTransfer/archive/2.6.9.tar.gz', keywords = ['Arduino', 'serial', 'usb', 'protocol', 'communication'], classifiers = [], install_requires = ['pyserial']