From a9031e8e7b6bfcf1b207c56a83cf376e627e9e4b Mon Sep 17 00:00:00 2001 From: Audionut Date: Fri, 1 Nov 2024 20:01:31 +1000 Subject: [PATCH] Revert only tacker timeout handling Was catching wait time editing descriptions and the like --- src/prep.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/prep.py b/src/prep.py index 01bad30d..73910b16 100644 --- a/src/prep.py +++ b/src/prep.py @@ -552,7 +552,6 @@ async def gather_prep(self, meta, mode): if match: found_match = True else: - timeout_duration = 2 # seconds # Process all trackers with API = true if no specific tracker is set in meta default_trackers = self.config['TRACKERS'].get('default_trackers', "").split(", ") @@ -566,8 +565,6 @@ async def gather_prep(self, meta, mode): ) if match: found_match = True - except asyncio.TimeoutError: - print("PTP tracker request timed out.") except aiohttp.ClientSSLError: print("PTP tracker request failed due to SSL error.") except requests.exceptions.ConnectionError as conn_err: @@ -584,8 +581,6 @@ async def gather_prep(self, meta, mode): ) if match: found_match = True - except asyncio.TimeoutError: - print("BLU tracker request timed out.") except aiohttp.ClientSSLError: print("BLU tracker request failed due to SSL error.") except requests.exceptions.ConnectionError as conn_err: @@ -601,8 +596,6 @@ async def gather_prep(self, meta, mode): ) if match: found_match = True - except asyncio.TimeoutError: - print("AITHER tracker request timed out.") except aiohttp.ClientSSLError: print("AITHER tracker request failed due to SSL error.") except requests.exceptions.ConnectionError as conn_err: @@ -618,8 +611,6 @@ async def gather_prep(self, meta, mode): ) if match: found_match = True - except asyncio.TimeoutError: - print("LST tracker request timed out.") except aiohttp.ClientSSLError: print("LST tracker request failed due to SSL error.") except requests.exceptions.ConnectionError as conn_err: @@ -635,8 +626,6 @@ async def gather_prep(self, meta, mode): ) if match: found_match = True - except asyncio.TimeoutError: - print("OE tracker request timed out.") except aiohttp.ClientSSLError: print("OE tracker request failed due to SSL error.") except requests.exceptions.ConnectionError as conn_err: @@ -652,8 +641,6 @@ async def gather_prep(self, meta, mode): ) if match: found_match = True - except asyncio.TimeoutError: - print("TIK tracker request timed out.") except aiohttp.ClientSSLError: print("TIK tracker request failed due to SSL error.") except requests.exceptions.ConnectionError as conn_err: @@ -669,8 +656,6 @@ async def gather_prep(self, meta, mode): ) if match: found_match = True - except asyncio.TimeoutError: - print("HDB tracker request timed out.") except aiohttp.ClientSSLError: print("HDB tracker request failed due to SSL error.") except requests.exceptions.ConnectionError as conn_err: