Correct the name of an optional tool: vobsubocr.

This commit is contained in:
Frédéric Tronel
2023-12-02 18:10:18 +01:00
parent 124772aaeb
commit b8394069fb

View File

@@ -28,7 +28,7 @@ from shutil import copyfile, which
def checkRequiredTools(): def checkRequiredTools():
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
required = ['ffmpeg', 'ffprobe', 'mkvmerge'] required = ['ffmpeg', 'ffprobe', 'mkvmerge']
optional = ['mkvextract', 'vobusbocr'] optional = ['mkvextract', 'vobsubocr']
for tool in required: for tool in required:
if which(tool) == None: if which(tool) == None:
logger.error('Required tool: %s is missing.' % tool) logger.error('Required tool: %s is missing.' % tool)