소스 검색

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