Selaa lähdekoodia

Update links.py

pull/3365/head
Murtaza rizvi 1 vuosi sitten
committed by GitHub
vanhempi
commit
094f039a2c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 muutettua tiedostoa jossa 1 lisäystä ja 3 poistoa
  1. +1
    -3
      scripts/validate/links.py

+ 1
- 3
scripts/validate/links.py Näytä tiedosto

@@ -179,9 +179,7 @@ def check_if_link_is_working(link: str) -> Tuple[bool, str]:
has_error = True
error_message = f'ERR:CLT: {code} : {link}'

except requests.exceptions.SSLError as error:
has_error = True
error_message = f'ERR:SSL: {error} : {link}'

except requests.exceptions.ConnectionError as error:
has_error = True


Ladataan…
Peruuta
Tallenna