From 64b0afdda3d9b72248b00e0ccadde304c25b18b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <101191390+HIllya51@users.noreply.github.com> Date: Wed, 14 Aug 2024 01:15:03 +0800 Subject: [PATCH] Update dev_llm_common.py --- LunaTranslator/LunaTranslator/translator/dev_llm_common.py | 1 + 1 file changed, 1 insertion(+) diff --git a/LunaTranslator/LunaTranslator/translator/dev_llm_common.py b/LunaTranslator/LunaTranslator/translator/dev_llm_common.py index d84036a8..95843447 100644 --- a/LunaTranslator/LunaTranslator/translator/dev_llm_common.py +++ b/LunaTranslator/LunaTranslator/translator/dev_llm_common.py @@ -80,6 +80,7 @@ class commonllmdev(basetransdev): if thistext.startswith(curr): yield thistext[len(curr) :] else: + yield '\0' yield thistext curr = thistext else: