Skip to content

Commit e519c36

Browse files
committed
thru_client: simplify range(1, 3) to 1, 2
1 parent a333e5a commit e519c36

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎examples/thru_client.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def shutdown(status, reason, userdata):
4848
client.set_shutdown_callback(shutdown)
4949

5050
# create two port pairs
51-
for number in range(1, 3):
51+
for number in 1, 2:
5252
client.inports.register("input_{0}".format(number))
5353
client.outports.register("output_{0}".format(number))
5454

0 commit comments

Comments
 (0)