From 1a489dc229ed6c2c1e9b2a1fce0bdb3d547cb7e5 Mon Sep 17 00:00:00 2001 From: j Date: Tue, 6 Jun 2017 16:59:27 +0200 Subject: [PATCH] list(filter --- pandora_client/extract.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_client/extract.py b/pandora_client/extract.py index a4f36ba..77a70d3 100644 --- a/pandora_client/extract.py +++ b/pandora_client/extract.py @@ -249,7 +249,7 @@ def video_cmd(video, target, profile, info): n = 1 # mix 2 mono channels into stereo(common for fcp dv mov files) if len(info['audio']) == 2 \ - and len(filter(None, [a['channels'] == 1 or None for a in info['audio']])) == 2: + and len(list(filter(None, [a['channels'] == 1 or None for a in info['audio']]))) == 2: video_settings += [ '-filter_complex', '[0:%s][0:%s] amerge' % (info['audio'][0]['id'], info['audio'][1]['id'])