From 5cfa2918ef249ad10b69a089ae7542d7e74ff56f Mon Sep 17 00:00:00 2001 From: Maksym Pavlenko Date: Wed, 24 Apr 2019 21:11:09 -0700 Subject: [PATCH] Fix size calculator --- cmd/updater/updater.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/updater/updater.py b/cmd/updater/updater.py index 68f04f0..3f0f293 100644 --- a/cmd/updater/updater.py +++ b/cmd/updater/updater.py @@ -111,6 +111,6 @@ def _get_size(video, selector, fmt, duration): is_audio = 'audio' in fmt if is_audio: - return [16000 if is_high else 6000] * duration + return (16000 if is_high else 6000) * duration else: - return [350000 if is_high else 100000] * duration + return (350000 if is_high else 100000) * duration