From: Sergey M․ Date: Sun, 14 Feb 2016 08:13:09 +0000 (+0600) Subject: [downloader/dash] PEP 8 X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=c78c9cd10dfbb4fc3fd49df4f9c98e9c94c9aae9;p=youtube-dl.git [downloader/dash] PEP 8 --- diff --git a/youtube_dl/downloader/dash.py b/youtube_dl/downloader/dash.py index 4f3eeb386..8b1b17c6e 100644 --- a/youtube_dl/downloader/dash.py +++ b/youtube_dl/downloader/dash.py @@ -35,6 +35,7 @@ class DashSegmentsFD(FragmentFD): return '%s%s%s' % (base_url, '' if base_url.endswith('/') else '/', target_url) segments_filenames = [] + def append_url_to_file(target_url, target_filename): success = ctx['dl'].download(target_filename, {'url': combine_url(base_url, target_url)}) if not success: