Make it actually compile

pull/973/head
Erik Johnston 2016-08-02 18:32:42 +01:00
parent aecaec3e10
commit f83f5fbce8
1 changed files with 1 additions and 1 deletions

View File

@ -344,8 +344,8 @@ class PreviewUrlResource(Resource):
# lines)
text_nodes = (
line.strip()
for el in cloned_tree.iter() if el.text
for line in el.text.splitlines()
for el in el.iter() if el.text
)
# Try to get a summary of between 200 and 500 words, respecting