Skip to content

Commit 5151690

Browse files
committed
black
1 parent 0fb6f56 commit 5151690

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/fundus/publishers/pt/the_portugal_news.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ def title(self) -> Optional[str]:
4141
@attribute
4242
def authors(self) -> List[str]:
4343
author_objects = self._author_selector(self.precomputed.doc)
44-
if author_objects and (
45-
author := re.search(r"(?i)by\s*(?P<authors>.*),[\r\sr\n]*in", author_objects[0])
46-
):
44+
if author_objects and (author := re.search(r"(?i)by\s*(?P<authors>.*),[\r\sr\n]*in", author_objects[0])):
4745
return generic_author_parsing(author.group("authors"))
4846
return []
4947

0 commit comments

Comments
 (0)