From 2a67ed3d34cad2f943ccbedd6fec76aa2a0a795d Mon Sep 17 00:00:00 2001 From: Keyang556 <65295310+keyang556@users.noreply.github.com> Date: Thu, 9 Apr 2026 12:45:05 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E8=A8=8A=E6=81=AF=E9=96=B1=E8=AE=80?= =?UTF-8?q?=E5=99=A8=E5=8A=9F=E8=83=BD=E6=94=B9=E9=80=B2=E8=88=87=20bug=20?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- addon/appModules/_chatParser.py | 2 +- addon/appModules/line.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/addon/appModules/_chatParser.py b/addon/appModules/_chatParser.py index 06c3d1f..52a2572 100644 --- a/addon/appModules/_chatParser.py +++ b/addon/appModules/_chatParser.py @@ -2,7 +2,7 @@ _DATE_RE = re.compile(r'^\d{4}\.\d{2}\.\d{2} .+$') _MSG_RE = re.compile(r'^(\d{2}:\d{2}) (\S+?) (.+)$') -_RECALL_RE = re.compile(r'^(\d{2}:\d{2}) (\S+?) 已收回訊息$') +_RECALL_RE = re.compile(r'^(\d{2}:\d{2}) (\S+?)已收回訊息$') def parseChatFile(filePath): diff --git a/addon/appModules/line.py b/addon/appModules/line.py index 4e0b62a..312bc74 100644 --- a/addon/appModules/line.py +++ b/addon/appModules/line.py @@ -5941,6 +5941,7 @@ def _messageReaderHandleSaveDialog(self, retriesLeft=10): """Find the Save As dialog, set filename to temp folder, and save.""" import ctypes import ctypes.wintypes as wintypes + import tempfile lineProcessId = self.processID WNDENUMPROC = ctypes.WINFUNCTYPE(wintypes.BOOL, wintypes.HWND, wintypes.LPARAM)