Skip to content
This repository was archived by the owner on Feb 2, 2026. It is now read-only.

Commit 0fad05e

Browse files
committed
Don't test own address when testing whole bus
1 parent 6be5aa3 commit 0fad05e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vxi11/vxi11.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,8 @@ def send_ifc(self):
10431043
def find_listeners(self, address_list=None):
10441044
"Find devices"
10451045
if address_list is None:
1046-
address_list = range(31)
1046+
address_list = list(range(31))
1047+
address_list.remove(self._bus_address)
10471048

10481049
found = []
10491050

0 commit comments

Comments
 (0)