txlyre 1 năm trước cách đây
mục cha
commit
23a4596c91
1 tập tin đã thay đổi với 0 bổ sung7 xóa
  1. 0 7
      openkriemy.py

+ 0 - 7
openkriemy.py

@@ -135,13 +135,6 @@ async def notify_birthdays():
       except:
         pass
 
-async def schedule(task, when):
-  await sleep(
-    ((when - datetime.now()) % timedelta(days=1)).total_seconds()
-  )
-
-  await task
-
 async def notify_birthdays_loop():
   interval = datetime.combine(date.today(), time(hour=0, minute=0))