summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsolter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/solter.py b/solter.py
index 10e9bb6..262e34a 100755
--- a/solter.py
+++ b/solter.py
@@ -44,7 +44,7 @@ def get_commands_send_data(sockfd: int, data: str, **kwargs):
if '"' in data or "\n" in data:
raise ValueError("Double-quotes and newlines are not supported")
- return [f'call (int)send({sockfd}, "{data}", {len(data)}, {MSG_NOSIGNAL})']
+ return [f'call (int)send({sockfd}, "{data}", {len(data)}, {hex(MSG_NOSIGNAL)})']
def get_commands_enable_keepalive(**kwargs):