Skip to content

Commit

Permalink
Fix code
Browse files Browse the repository at this point in the history
  • Loading branch information
janheinrichmerker committed Nov 4, 2024
1 parent 3af355f commit a668f04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chatnoir_pyterrier/retrieve.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def _merge_result(
try:
row["text"] = row["contents_plain"] = result.cache_contents(plain=True)
except Exception:
row["text"] = None
row["text"] = row["contents_plain"] = None
if Feature.CONTENT_TYPE in self.features:
row["content_type"] = result.content_type
if Feature.LANGUAGE in self.features:
Expand Down

0 comments on commit a668f04

Please sign in to comment.