From 83389a63e9b3e145f527cccf583b30bbe1993f4c Mon Sep 17 00:00:00 2001 From: jvoisin Date: Mon, 22 Oct 2018 13:42:04 +0200 Subject: Test mat2's reliability wrt. corrupted video files --- libmat2/video.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libmat2/video.py') diff --git a/libmat2/video.py b/libmat2/video.py index b9f3687..658affa 100644 --- a/libmat2/video.py +++ b/libmat2/video.py @@ -43,9 +43,8 @@ class AVIParser(exiftool.ExiftoolParser): try: subprocess.check_call(cmd) - except subprocess.CalledProcessError: # pragma: no cover + except subprocess.CalledProcessError: return False - return True -- cgit v1.3