From 5d17033700f9f7301f1162ce11805b3a3d8af78a Mon Sep 17 00:00:00 2001 From: echo Date: Mon, 23 Sep 2024 21:22:01 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A0=EF=B8=8F:bug:=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E4=B8=8D=E6=94=AF=E6=8C=81=E9=92=89=E9=92=89=E5=BC=82=E6=AD=A5?= =?UTF-8?q?=E6=8E=A8=E9=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hello_signIn.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hello_signIn.py b/hello_signIn.py index 89cd4fa..a0eb8e8 100644 --- a/hello_signIn.py +++ b/hello_signIn.py @@ -3,14 +3,14 @@ # @fileName hello_signIn.py # @author Echo # @EditTime 2024/9/23 +import asyncio import os import re from datetime import datetime import httpx -import asyncio -from sendNotify import send_notification_message +from sendNotify import aysnc_send_notification_message class HelloSignIn: @@ -70,7 +70,7 @@ class HelloSignIn: point_result = await self.point_info() message = f"{sign_result}\n{point_result}" print(message) - await send_notification_message(f"哈啰出行-签到通知 - {datetime.now().strftime('%Y/%m/%d')}", message) + await aysnc_send_notification_message(f"哈啰出行-签到通知 - {datetime.now().strftime('%Y/%m/%d')}", message) await self.client.aclose()