Skip to content

Commit

Permalink
fix: linter issues!
Browse files Browse the repository at this point in the history
  • Loading branch information
amindadgar committed Sep 26, 2024
1 parent ad5186a commit 16df757
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import re
import logging
import re
from typing import Any

from hivemind_etl_helpers.src.db.discord.utils.content_parser import (
Expand Down Expand Up @@ -211,7 +211,7 @@ def prepare_document(
raise ValueError("Message just did have urls")

# removing null characters
content_url_updated = re.sub(r'[\x00-\x1F\x7F]', '', content_url_updated)
content_url_updated = re.sub(r"[\x00-\x1F\x7F]", "", content_url_updated)

doc: Document
if not exclude_metadata:
Expand Down

0 comments on commit 16df757

Please sign in to comment.