Skip to content

Commit 0fc7a60

Browse files
gijzelaerrclaude
andcommitted
Fix ruff format for routing debug log line
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent a3850c9 commit 0fc7a60

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

snap7/connection.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -311,10 +311,7 @@ def _build_cotp_cr(self) -> bytes:
311311
subnet_param = struct.pack(">BBH", self.COTP_PARAM_SUBNET_ID, 2, self._subnet_id)
312312
routing_tsap_param = struct.pack(">BBH", self.COTP_PARAM_ROUTING_TSAP, 2, self._routing_tsap)
313313
parameters += subnet_param + routing_tsap_param
314-
logger.debug(
315-
f"COTP CR with routing: subnet={self._subnet_id:#06x}, "
316-
f"routing_tsap={self._routing_tsap:#06x}"
317-
)
314+
logger.debug(f"COTP CR with routing: subnet={self._subnet_id:#06x}, routing_tsap={self._routing_tsap:#06x}")
318315

319316
# Update PDU length to include parameters
320317
total_length = 6 + len(parameters)

0 commit comments

Comments
 (0)