Skip to content

Commit

Permalink
Removed redundant verify call in MKVFile __init__ method. (sheldonkwo…
Browse files Browse the repository at this point in the history
  • Loading branch information
sheldonkwoodward authored Aug 10, 2021
1 parent e706755 commit 5a49315
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pymkv/MKVFile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5a49315

Please sign in to comment.