mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-06 13:07:59 +00:00
linting
This commit is contained in:
@@ -61,6 +61,11 @@ def check_links(urls):
|
||||
allow_redirects=True,
|
||||
headers=HEADERS).status_code
|
||||
if ret not in VALID_RET:
|
||||
msg = (
|
||||
f' [WARN] HEAD {url} returned {ret}'
|
||||
f' ... checking with GET'
|
||||
)
|
||||
print(msg)
|
||||
verb = 'get'
|
||||
ret = requests.get(url,
|
||||
timeout=TIMEOUT,
|
||||
|
||||
Reference in New Issue
Block a user