Import lxml immediately so ImportErrors can be found.

This commit is contained in:
voussoir 2021-09-04 23:53:06 -07:00
parent f102da477b
commit b88e816347
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -1,4 +1,7 @@
import bs4 import bs4
# Importing so that if lxml is not installed, you get an ImportError right
# away instead of when bs4 tries to parse.
import lxml
import requests import requests
from voussoirkit import vlogging from voussoirkit import vlogging