fix stupid bug

This commit is contained in:
nanos 2024-06-24 17:18:02 +01:00
parent a23d6fe1fb
commit 468e092e21

View file

@ -973,9 +973,6 @@ def get(url, headers = {}, timeout = 0, max_tries = 5):
h['User-Agent'] = f"FediFetcher (+{arguments.server}; https://go.thms.uk/ff)"
logger.debug(f"User Agent: {h['User-Agent']}")
raise Exception('error')
if timeout == 0:
timeout = arguments.http_timeout