Import lxml immediately so ImportErrors can be found.

master
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
1 changed files with 3 additions and 0 deletions

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