mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-01-11 12:29:29 -05:00
Make it actually compile
This commit is contained in:
parent
aecaec3e10
commit
f83f5fbce8
@ -344,8 +344,8 @@ class PreviewUrlResource(Resource):
|
|||||||
# lines)
|
# lines)
|
||||||
text_nodes = (
|
text_nodes = (
|
||||||
line.strip()
|
line.strip()
|
||||||
|
for el in cloned_tree.iter() if el.text
|
||||||
for line in el.text.splitlines()
|
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
|
# Try to get a summary of between 200 and 500 words, respecting
|
||||||
|
Loading…
Reference in New Issue
Block a user