Import lxml immediately so ImportErrors can be found.
This commit is contained in:
parent
f102da477b
commit
b88e816347
1 changed files with 3 additions and 0 deletions
|
@ -1,4 +1,7 @@
|
|||
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
|
||||
|
||||
from voussoirkit import vlogging
|
||||
|
|
Loading…
Reference in a new issue