diff --git a/docutranslate/ir/document.py b/docutranslate/ir/document.py index c96b67c..8239611 100644 --- a/docutranslate/ir/document.py +++ b/docutranslate/ir/document.py @@ -17,8 +17,8 @@ class Document: if not self._stem: return None if len(self._stem)>50: - return self._stem[:50]+self.suffix - return self._stem+self.suffix + return self._stem[:50] + return self._stem @property def name(self)->str|None: diff --git a/更新日志.txt b/更新日志.txt index 384b6c5..afbaf15 100644 --- a/更新日志.txt +++ b/更新日志.txt @@ -1,4 +1,5 @@ 更新日志 +---------------- v1.4.18版 2025.11.3 优化 - 优化对文件名过长文件的处理