Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
HIllya51 committed Jan 6, 2025
1 parent a7f9830 commit fbb4e7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/LunaTranslator/ocrengines/tesseract5.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def findts(self):

def list_langs(self):
if not (self.path and os.path.exists(self.path)):
raise Exception(_TR("路径不存在"))
raise Exception(_TR("not installed"))
res = subproc_w(
'"{}" --list-langs'.format(self.path),
needstdio=True,
Expand Down

0 comments on commit fbb4e7b

Please sign in to comment.