Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
sudoskys committed Dec 19, 2024
2 parents 1b9fe2d + 0f5f944 commit b0787fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/telegram_sticker_utils/core/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

# 读取规则,本文件目录下的rules.json
rule_file = Path(__file__).parent / "rules.json"
EMOJI_RULES = json.loads(rule_file.read_text())
EMOJI_RULES = json.loads(rule_file.read_text(encoding='utf-8'))


def add_emoji_rule(rule: str, emoji_char: str):
Expand Down

0 comments on commit b0787fe

Please sign in to comment.