Explorar el Código

bugfix: do not extract links from pages

Damien ACCORSI hace 9 años
padre
commit
1b45c3f93a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      tracim/tracim/model/data.py

+ 1 - 1
tracim/tracim/model/data.py Ver fichero

@@ -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