Skip to content

Commit e9b3d93

Browse files
ruff formatting
1 parent 941f70c commit e9b3d93

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

snap7/util/setters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ def set_string(bytearray_: bytearray, byte_index: int, value: str, max_size: int
229229

230230
if any(ord(char) < 0 or ord(char) > 255 for char in value):
231231
raise ValueError(
232-
"Value contains ascii values > 255, which is not compatible with PLC Type STRING."
232+
"Value contains ascii values > 255, which is not compatible with PLC Type STRING. "
233233
"Check encoding of value or try set_wstring()."
234234
)
235235

0 commit comments

Comments
 (0)