Fix for Tesseract OCR on linux - thx mooop12 :)

Working on #2318
This commit is contained in:
Nikolaj Olsson 2017-03-29 20:41:24 +02:00
parent 800a17801d
commit 7750089412

View File

@ -6894,7 +6894,7 @@ namespace Nikse.SubtitleEdit.Forms.Ocr
process.WaitForExit();
}
string dir = Path.Combine(Configuration.TesseractDirectory, "tessdata");
string dir = Configuration.TesseractDataDirectory;
if (Directory.Exists(dir))
{
var list = new List<string>();