Implemented Import Check

main
Alexis 2023-06-30 02:00:51 -04:00
rodzic b39af75b0a
commit 3f7459df56
1 zmienionych plików z 9 dodań i 1 usunięć

Wyświetl plik

@ -1,4 +1,12 @@
import whois
import logging
logger = logging.getLogger(__name__)
try:
import whois
except ImportError as e:
logger.error("You need to install the python-whois module. Install PIP (https://bootstrap.pypa.io/get-pip.py) and then 'pip3 install python-whois'")
raise e
from typing import Generator