From 9cea64a5f80d7a3ea7769ca577dce98eb3363502 Mon Sep 17 00:00:00 2001 From: amd64fox <62529699+amd64fox@users.noreply.github.com> Date: Sat, 23 Mar 2024 10:08:26 +0300 Subject: [PATCH] adding async to functions #2 --- upd.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/upd.py b/upd.py index e19497e..21c7d08 100644 --- a/upd.py +++ b/upd.py @@ -138,14 +138,14 @@ async def main(): find_url.append(result) latest_urls = get_urls(find_url) if len(latest_urls) == len(platform_names): - pre_version(latest_urls) + await pre_version(latest_urls) return if find_url: latest_urls = get_urls(find_url) - pre_version(latest_urls) + await pre_version(latest_urls) else: - pre_version(False) + await pre_version(False) asyncio.run(main())