Skip to content

Commit

Permalink
extension
Browse files Browse the repository at this point in the history
  • Loading branch information
hagen-danswer committed Dec 20, 2024
1 parent 5a974ed commit 4b55d4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/onyx/connectors/confluence/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"mp3",
"wav",
]
_FULL_EXTENTION_FILTER_STRING = "".join(
_FULL_EXTENSION_FILTER_STRING = "".join(
[
f" and title!~'*.{extension}'"
for extension in _ATTACHMENT_EXTENSIONS_TO_FILTER_OUT
Expand Down Expand Up @@ -166,7 +166,7 @@ def _construct_page_query(
def _construct_attachment_query(self, confluence_page_id: str) -> str:
attachment_query = f"type=attachment and container='{confluence_page_id}'"
attachment_query += self.cql_label_filter
attachment_query += _FULL_EXTENTION_FILTER_STRING
attachment_query += _FULL_EXTENSION_FILTER_STRING
return attachment_query

def _get_comment_string_for_page_id(self, page_id: str) -> str:
Expand Down

0 comments on commit 4b55d4f

Please sign in to comment.