yoda bot: Just import the requests module.
This removes the unconventional check for the existence of the requests module in the yoda bot to bring it in line with other bots.
This commit is contained in:
parent
f6f09202ac
commit
eb02e08fb7
|
@ -2,11 +2,7 @@
|
||||||
import logging
|
import logging
|
||||||
import ssl
|
import ssl
|
||||||
import sys
|
import sys
|
||||||
try:
|
|
||||||
import requests
|
import requests
|
||||||
except ImportError as e:
|
|
||||||
logging.error("Dependency missing!!\n{}".format(e))
|
|
||||||
sys.exit(0)
|
|
||||||
|
|
||||||
from typing import Any, Dict
|
from typing import Any, Dict
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue