mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Revert test-failing change from #1114
This commit is contained in:
parent
c60e0d03fb
commit
6b0a99932f
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ def get_items(xml):
|
|||
sys.exit(error)
|
||||
with open(xml, encoding='utf-8') as infile:
|
||||
xmlfile = infile.read()
|
||||
soup = BeautifulSoup(xmlfile, "lxml")
|
||||
soup = BeautifulSoup(xmlfile, "xml")
|
||||
items = soup.rss.channel.findAll('item')
|
||||
return items
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue