From b5b2186525ae2662379be9fe27da7bdd88df71f6 Mon Sep 17 00:00:00 2001 From: Muhammad Akbar Date: Thu, 9 Jan 2025 20:24:17 +0500 Subject: [PATCH] Update README.md 'value' does not exist on the object --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 15f272a..b2deb60 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ if __name__ == '__main__': ################################################################### while not link.available(): # A negative value for status indicates an error - if link.status.value < 0: + if link.status < 0: if link.status == txfer.Status.CRC_ERROR: print('ERROR: CRC_ERROR') elif link.status == txfer.Status.PAYLOAD_ERROR: