浏览代码

bugfix: do not extract links from pages

Damien ACCORSI 9 年前
父节点
当前提交
1b45c3f93a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tracim/tracim/model/data.py

+ 1 - 1
tracim/tracim/model/data.py 查看文件

@@ -498,7 +498,7 @@ class Content(DeclarativeBase):
498 498
         :return: a list of LinkItem
499 499
         """
500 500
         links = []
501
-
501
+        return links
502 502
         soup = BeautifulSoup(
503 503
             self.description if not other_content else other_content,
504 504
             'html.parser'  # Fixes hanging bug - http://stackoverflow.com/questions/12618567/problems-running-beautifulsoup4-within-apache-mod-python-django