From 258e9e858feda15aa1a3fe8d0cb0c189c1135a26 Mon Sep 17 00:00:00 2001 From: Nicolas Date: Thu, 20 Feb 2025 17:06:48 +0100 Subject: [PATCH] non-functional spaces added --- src/pyhoff/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyhoff/__init__.py b/src/pyhoff/__init__.py index c51b910..6f25896 100644 --- a/src/pyhoff/__init__.py +++ b/src/pyhoff/__init__.py @@ -44,7 +44,7 @@ class BusTerminal(): def select(cls, bus_coupler: 'BusCoupler', terminal_number: int = 0): terminal_list = [bt for bt in bus_coupler.bus_terminals if isinstance(bt, cls)] assert terminal_list, f'No instance of {cls.__name__} configured at this BusCoupler' - assert 0 <= terminal_number < len(terminal_list), f'Out of range, select in range: 0..{len(terminal_list)-1}' + assert 0 <= terminal_number < len(terminal_list), f'Out of range, select in range: 0..{len(terminal_list) - 1}' return terminal_list[terminal_number]