From 88f112dfa2cffec77e6bf21d1bb350839e79a040 Mon Sep 17 00:00:00 2001 From: LemonNexus Date: Sat, 14 Feb 2026 23:52:05 +0000 Subject: [PATCH] fix: Fix invalid escape sequence warning in ocr_backend_manager.py The string contained C:\Program Files\Tesseract-OCR which Python interpreted as escape sequences (\P is invalid). Fixed by escaping backslashes: C:\Program Files\Tesseract-OCR --- core/ocr_backend_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/ocr_backend_manager.py b/core/ocr_backend_manager.py index 847e1db..e57a8a7 100644 --- a/core/ocr_backend_manager.py +++ b/core/ocr_backend_manager.py @@ -171,7 +171,7 @@ To install Tesseract: https://github.com/UB-Mannheim/tesseract/wiki 2. Run the installer and note the installation path - (usually C:\Program Files\Tesseract-OCR) + (usually C:\\Program Files\\Tesseract-OCR) 3. Add to PATH or use the auto-detect feature