Skip to content

Commit

Permalink
chore: 不去除 -
Browse files Browse the repository at this point in the history
  • Loading branch information
fllesser committed Dec 8, 2024
1 parent 51a9530 commit 3610f68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nonebot_plugin_resolver2/data_source/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def delete_boring_characters(sentence: str) -> str:
:param sentence:
:return:
"""
return re.sub(r'[’!"∀〃\$%&\'\(\)\*\+,\-\./:;<=>\?@,。?★、…【】《》?“”‘’!\[\\\]\^_`\{\|\}~~]+', "", sentence)
return re.sub(r'[’!"∀〃\$%&\'\(\)\*\+,\./:;<=>\?@,。?★、…【】《》?“”‘’!\[\\\]\^_`\{\|\}~~]+', "", sentence)


def get_file_size_mb(file_path) -> int:
Expand Down

0 comments on commit 3610f68

Please sign in to comment.