aboutsummaryrefslogtreecommitdiff
path: root/src/toolkit/ffmpeg.py
diff options
context:
space:
mode:
authortassaron2017-07-25 22:02:47 -0400
committertassaron2017-07-25 22:02:47 -0400
commit15d70474d4df16cd03f4eb672d409166f793eabf (patch)
tree2792cc1b4122a6cd748273b91d14635a049da3d1 /src/toolkit/ffmpeg.py
parent661526b0739115594fda4c0e876398cdc940fbe1 (diff)
error can be locked within properties()
and simplified the componenterrors again
Diffstat (limited to 'src/toolkit/ffmpeg.py')
-rw-r--r--src/toolkit/ffmpeg.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/toolkit/ffmpeg.py b/src/toolkit/ffmpeg.py
index 8f5ae87..8d63659 100644
--- a/src/toolkit/ffmpeg.py
+++ b/src/toolkit/ffmpeg.py
@@ -224,9 +224,9 @@ def testAudioStream(filename):
try:
checkOutput(audioTestCommand, stderr=subprocess.DEVNULL)
except subprocess.CalledProcessError:
- return True
- else:
return False
+ else:
+ return True
def getAudioDuration(filename):