Browse Source

[fix] pubmed content being None

Justas Zabulionis 1 year ago
parent
commit
be888810ba
1 changed files with 1 additions and 1 deletions
  1. 1 1
      searx/engines/pubmed.py

+ 1 - 1
searx/engines/pubmed.py

@@ -99,7 +99,7 @@ def response(resp):
             'template': 'paper.html',
             'template': 'paper.html',
             'url': url,
             'url': url,
             'title': title,
             'title': title,
-            'content': content,
+            'content': content or "",
             'journal': journal,
             'journal': journal,
             'issn': [issn],
             'issn': [issn],
             'authors': authors,
             'authors': authors,