Browse Source

add asyncio

ming 3 năm trước cách đây
mục cha
commit
89fb582bd5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      main.py

+ 1 - 1
main.py

@@ -190,7 +190,7 @@ def notify_group(msg):
             "Content-Type": "application/x-www-form-urlencoded"
             "Content-Type": "application/x-www-form-urlencoded"
     }
     }
     params = {"message": msg}   
     params = {"message": msg}   
-    #r = requests.post("https://notify-api.line.me/api/notify",headers=headers, params=params)
+    r = requests.post("https://notify-api.line.me/api/notify",headers=headers, params=params)
     #print(r)
     #print(r)