Parcourir la source

Update links.py

pull/3365/head
Murtaza rizvi il y a 1 an
committed by GitHub
Parent
révision
094f039a2c
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: 4AEE18F83AFDEB23
1 fichiers modifiés avec 1 ajouts et 3 suppressions
  1. +1
    -3
      scripts/validate/links.py

+ 1
- 3
scripts/validate/links.py Voir le fichier

@@ -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


Chargement…
Annuler
Enregistrer