diff --git a/main.py b/main.py index 3b35c83..dea141e 100644 --- a/main.py +++ b/main.py @@ -23,7 +23,7 @@ async def fetch(url, tries=0): print(f"Failed ({tries + 1})...", end="") if tries >= 5: raise RuntimeError(f"Failed to fetch URL {url} after 6 tries") - return fetch(url, tries + 1) + return await fetch(url, tries + 1) except Exception as e: print(f"Unexpected error: {e}") return None