mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-01-07 23:41:35 +00:00
Ran flake8
This commit is contained in:
@@ -7,6 +7,7 @@ from ..utils import (
|
|||||||
make_dir,
|
make_dir,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
class MoveFilesAfterDownloadPP(PostProcessor):
|
class MoveFilesAfterDownloadPP(PostProcessor):
|
||||||
FILETYPE_KEYS = ['media', 'thumbnails', 'requested_subtitles']
|
FILETYPE_KEYS = ['media', 'thumbnails', 'requested_subtitles']
|
||||||
|
|
||||||
@@ -51,7 +52,7 @@ class MoveFilesAfterDownloadPP(PostProcessor):
|
|||||||
info['__files_to_move']['media'] = []
|
info['__files_to_move']['media'] = []
|
||||||
|
|
||||||
if self._downloaded:
|
if self._downloaded:
|
||||||
info['__files_to_move']['media'] = [{ 'current_filepath': info['filepath'], 'final_filepath': dl_name }]
|
info['__files_to_move']['media'] = [{'current_filepath': info['filepath'], 'final_filepath': dl_name}]
|
||||||
|
|
||||||
files_to_move = self.expand_relative_paths(info['__files_to_move'], finaldir)
|
files_to_move = self.expand_relative_paths(info['__files_to_move'], finaldir)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user