0704
This commit is contained in:
@@ -3,3 +3,12 @@
|
||||
Command failures and integration errors.
|
||||
|
||||
---
|
||||
|
||||
## [ERR-20260703-001] LM Studio output directory mistaken for file
|
||||
|
||||
**Logged**: 2026-07-03T22:03:00+08:00
|
||||
**Priority**: medium
|
||||
|
||||
When `lmstudio_polish.py` receives a single input file and an output path such as `.../1.1.1-坠毁后的第一夜`, `Path.suffix` treats `.1-坠毁后的第一夜` as a file suffix. The script then writes multiple chapter outputs into the same path instead of appending each source filename.
|
||||
|
||||
Fix: only treat `--out` as a direct output file when its suffix is `.md`; otherwise treat it as a directory.
|
||||
|
||||
Reference in New Issue
Block a user