aboutsummaryrefslogtreecommitdiffstats
path: root/sticker/stickerimport.py
diff options
context:
space:
mode:
Diffstat (limited to 'sticker/stickerimport.py')
-rw-r--r--sticker/stickerimport.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sticker/stickerimport.py b/sticker/stickerimport.py
index 6846184..1bff240 100644
--- a/sticker/stickerimport.py
+++ b/sticker/stickerimport.py
@@ -99,7 +99,7 @@ async def reupload_pack(client: TelegramClient, pack: StickerSetFull, output_dir
doc["body"] = sticker.emoticon
doc["net.maunium.telegram.sticker"]["emoticons"].append(sticker.emoticon)
- with open(pack_path, "w") as pack_file:
+ with open(pack_path, "w", encoding="utf-8") as pack_file:
json.dump({
"title": pack.set.title,
"id": f"tg-{pack.set.id}",
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage