From 80d669d7d4ce6dae9d744b3f3234171bcfdb26cd Mon Sep 17 00:00:00 2001 From: shuaikangzhou <863909694@qq.com> Date: Thu, 21 Dec 2023 21:53:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Demoji=E8=B7=AF=E5=BE=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E5=AF=BC=E8=87=B4=E7=9A=84=E9=97=AA=E9=80=80?= =?UTF-8?q?#212?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/DataBase/output_pc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/DataBase/output_pc.py b/app/DataBase/output_pc.py index b6c509f..3aae34f 100644 --- a/app/DataBase/output_pc.py +++ b/app/DataBase/output_pc.py @@ -337,7 +337,7 @@ class ChildThread(QThread): if self.output_type == Output.HTML: emoji_path = get_emoji(str_content, thumb=True, output_path=origin_docx_path + '/emoji') if emoji_path == "": - shutil.copy(f"{os.path.abspath('.')}/app/resources/icons/404.png", origin_docx_path + '/emoji/404.png') + # todo 改为网络404图片 emoji_path = "./emoji/404.png" else: emoji_path = './emoji/' + os.path.basename(emoji_path)