2022-08-12 12:06:08 +00:00
|
|
|
diff --git a/frog/language_manager.py b/frog/language_manager.py
|
2024-05-15 15:35:15 +00:00
|
|
|
index d822c44..bc289db 100644
|
2022-08-12 12:06:08 +00:00
|
|
|
--- a/frog/language_manager.py
|
|
|
|
+++ b/frog/language_manager.py
|
2024-05-15 15:35:15 +00:00
|
|
|
@@ -193,7 +193,7 @@ class LanguageManager(GObject.GObject):
|
2022-08-12 12:06:08 +00:00
|
|
|
os.mkdir(tessdata_dir)
|
|
|
|
|
|
|
|
dest_path = os.path.join(tessdata_dir, 'eng.traineddata')
|
|
|
|
- source_path = pathlib.Path('/app/share/appdata/eng.traineddata')
|
|
|
|
+ source_path = pathlib.Path('@out@/share/appdata/eng.traineddata')
|
|
|
|
if os.path.exists(dest_path):
|
|
|
|
return
|
|
|
|
|