From a38b210963f6ae4e6105843bcb215bfbed5f759d Mon Sep 17 00:00:00 2001 From: sekkr1 Date: Tue, 23 Apr 2019 23:28:35 +0300 Subject: [PATCH] Typo --- bazarr/embedded_subs_reader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bazarr/embedded_subs_reader.py b/bazarr/embedded_subs_reader.py index f4b51b095..b4961f7d9 100644 --- a/bazarr/embedded_subs_reader.py +++ b/bazarr/embedded_subs_reader.py @@ -5,7 +5,7 @@ import subprocess from utils import get_binary -class MKVAndNoFFprobe(Exception): +class NotMKVAndNoFFprobe(Exception): pass class FFprobeError(Exception): @@ -22,7 +22,7 @@ class EmbeddedSubsReader: except subprocess.CalledProcessError as e: raise FFprobeError(e.output) if os.path.splitext(file)[1] != '.mkv': - raise MKVAndNoFFprobe() + raise NotMKVAndNoFFprobe() with open(file, 'rb') as f: mkv = enzyme.MKV(f) return [subtitle_track.language for subtitle_track in mkv.subtitle_tracks]