summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorcapric98 <42015599+capric98@users.noreply.github.com>2022-04-15 20:14:09 +0800
committerMarkus Heiser <markus.heiser@darmarit.de>2022-04-22 16:09:36 +0200
commit8c7e6cc98347fe1a1e6f1cb650e9b48cadf07f8a (patch)
tree6e4838b9a7a27e0e4366fbdda52e44195454bcf0 /Makefile
parent6ff48859e33911309acf4a6a62eb43a4e73a52d5 (diff)
[fix] FutureWarning from lxml
Just in case if content is None, the original code will skip extract_text(), and just append the None value to 'content'. So just add allow_none=True, and this will return None without raising a ValueError in extract_text().
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions