fix stupid bug
This commit is contained in:
parent
a23d6fe1fb
commit
468e092e21
1 changed files with 0 additions and 3 deletions
|
|
@ -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)"
|
h['User-Agent'] = f"FediFetcher (+{arguments.server}; https://go.thms.uk/ff)"
|
||||||
logger.debug(f"User Agent: {h['User-Agent']}")
|
logger.debug(f"User Agent: {h['User-Agent']}")
|
||||||
|
|
||||||
|
|
||||||
raise Exception('error')
|
|
||||||
|
|
||||||
if timeout == 0:
|
if timeout == 0:
|
||||||
timeout = arguments.http_timeout
|
timeout = arguments.http_timeout
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue