aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/downloader
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-03-05 10:24:29 +0700
committerSergey M․ <dstftw@gmail.com>2017-03-05 10:24:29 +0700
commita50862b7355544d3fd8473bf3ff35e9c6643d789 (patch)
treeee3221129521a243b75cd5dd6277468deb439ce9 /youtube_dl/downloader
parent6d0fe752bfeaa9a758099315f006bc15acd1ae76 (diff)
[downloader/external] Add missing import and PEP8
Diffstat (limited to 'youtube_dl/downloader')
-rw-r--r--youtube_dl/downloader/external.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/youtube_dl/downloader/external.py b/youtube_dl/downloader/external.py
index 127a92d20..e13cf547d 100644
--- a/youtube_dl/downloader/external.py
+++ b/youtube_dl/downloader/external.py
@@ -6,7 +6,10 @@ import sys
import re
from .common import FileDownloader
-from ..compat import compat_setenv
+from ..compat import (
+ compat_setenv,
+ compat_str,
+)
from ..postprocessor.ffmpeg import FFmpegPostProcessor, EXT_TO_OUT_FORMATS
from ..utils import (
cli_option,
@@ -272,7 +275,7 @@ class FFmpegFD(ExternalFD):
args += ['-i', url, '-c', 'copy']
if self.params.get('test', False):
- args += ['-fs', compat_str(self._TEST_FILE_SIZE)] # -fs limit_size (output), expressed in bytes
+ args += ['-fs', compat_str(self._TEST_FILE_SIZE)]
if protocol in ('m3u8', 'm3u8_native'):
if self.params.get('hls_use_mpegts', False) or tmpfilename == '-':