From c38e6be9f9e2f13eeb90dd3e8e522e29ff80391b Mon Sep 17 00:00:00 2001 From: Andrew Rowley Date: Tue, 26 Sep 2023 10:58:31 +0100 Subject: [PATCH] Correct logic --- link_test/link_test_send_vertex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/link_test/link_test_send_vertex.py b/link_test/link_test_send_vertex.py index e486e24c..0b772724 100644 --- a/link_test/link_test_send_vertex.py +++ b/link_test/link_test_send_vertex.py @@ -80,7 +80,7 @@ def __init__(self, x, y, sends_per_ts, write_route, self.__write_route = write_route self.__key = None self.__mask = None - if not self.__write_route: + if self.__write_route: self.__key = (self.__x << 24) | (self.__y << 16) self.__mask = 0xFFFF0000