From ff8dd16456944610451556c71e807405ca723d28 Mon Sep 17 00:00:00 2001 From: j Date: Wed, 3 Aug 2016 11:41:27 +0200 Subject: [PATCH] fix profile selection --- pandora/archive/extract.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora/archive/extract.py b/pandora/archive/extract.py index aae2c5906..f402edde9 100644 --- a/pandora/archive/extract.py +++ b/pandora/archive/extract.py @@ -94,14 +94,14 @@ def stream(video, target, profile, info, audio_track=0, flags={}): audioquality = 6 audiobitrate = None audiochannels = None - if profile == '720p': + elif profile == '720p': height = 720 audiorate = 48000 audioquality = 5 audiobitrate = None audiochannels = None - if profile == '480p': + elif profile == '480p': height = 480 audiorate = 44100