From 5a4931533dbbd12a28b9fb6d8ef53e2b2c8f1da3 Mon Sep 17 00:00:00 2001 From: Sheldon Woodward Date: Mon, 9 Aug 2021 20:59:46 -0700 Subject: [PATCH] Removed redundant verify call in MKVFile __init__ method. (#71) --- pymkv/MKVFile.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/pymkv/MKVFile.py b/pymkv/MKVFile.py index af3b247..cd87088 100644 --- a/pymkv/MKVFile.py +++ b/pymkv/MKVFile.py @@ -93,9 +93,6 @@ def __init__(self, file_path=None, title=None, mkvmerge_path='mkvmerge'): self._link_to_next_file = None self.tracks = [] self.attachments = [] - if file_path is not None and not verify_mkvmerge(mkvmerge_path=self.mkvmerge_path): - raise FileNotFoundError('mkvmerge is not at the specified path, add it there or change the mkvmerge_path ' - 'property') if file_path is not None and verify_matroska(file_path, mkvmerge_path=self.mkvmerge_path): # add file title file_path = expanduser(file_path)