From 7dd3eb820b4b0e2017e9bdec1b368e5d117253ff Mon Sep 17 00:00:00 2001 From: shikong <919411476@qq.com> Date: Thu, 1 Aug 2024 20:42:18 +0800 Subject: [PATCH] =?UTF-8?q?fastapi=20=E5=B0=81=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index 051944c..a7f792d 100644 --- a/main.py +++ b/main.py @@ -81,6 +81,7 @@ async def douyin_task(item: Device): print(f"({startX}, {startY}) => ({endX}, {endY})") d.swipe(startX, startY, endX + random.random(), endY, duration=0.05 + random.random() * 0.1) time.sleep(5 + random.random() * 2) + return Response() if __name__ == '__main__':