1
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-03-09 12:50:23 -05:00

Ran flake8

This commit is contained in:
Kieran Eglin 2024-04-23 11:00:15 -07:00
parent c574be85f1
commit c9d8184fe6
No known key found for this signature in database
GPG key ID: 193984967FCF432D

View file

@ -7,6 +7,7 @@
make_dir,
)
class MoveFilesAfterDownloadPP(PostProcessor):
FILETYPE_KEYS = ['media', 'thumbnails', 'requested_subtitles']
@ -51,7 +52,7 @@ def run(self, info):
info['__files_to_move']['media'] = []
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)