Skip to content

Commit

Permalink
assume newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
wdpypere committed Mar 28, 2024
1 parent 4f24492 commit 57e1563
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vsc/utils/netcat.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def connect_and_send(host, port, data, timeout=10):
"""
# convert list to string if needed
if isinstance(data, list):
data = "".join(data)
data = "\n".join(data)

# make sure data is bytes
if isinstance(data, str):
Expand Down

0 comments on commit 57e1563

Please sign in to comment.