mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-11 07:19:16 +00:00
linting
This commit is contained in:
@@ -107,7 +107,9 @@ def check_links(urls):
|
|||||||
except Exception:
|
except Exception:
|
||||||
ret = 404
|
ret = 404
|
||||||
if ret == 403 and hostname in OK_WHEN_FORBIDDEN:
|
if ret == 403 and hostname in OK_WHEN_FORBIDDEN:
|
||||||
print(f' [{GREEN}OK-although-{ret}{RESET}] {MAGENTA}{url}{RESET}')
|
msg = f' [{GREEN}OK-although-{ret}{RESET}]'
|
||||||
|
msg += f' {MAGENTA}{url}{RESET}'
|
||||||
|
print(msg)
|
||||||
continue
|
continue
|
||||||
if ret not in VALID_RET:
|
if ret not in VALID_RET:
|
||||||
msg = (
|
msg = (
|
||||||
|
|||||||
Reference in New Issue
Block a user