[embedthumbnai] Ran flake8 over the code and fixed according to its standard.

This commit is contained in:
Tryamid 2020-03-10 08:04:15 +05:30
parent cbe64c52c1
commit 982f386fdf

View File

@ -101,8 +101,8 @@ class EmbedThumbnailPP(FFmpegPostProcessor):
raise EmbedThumbnailPPError('mutagen was not found. Please install.')
shutil.copyfile(filename, temp_filename)
aufile = {'opus': OggOpus, 'flac': FLAC, 'ogg': OggVorbis} \
[info['ext']](temp_filename)
aufile = ({'opus': OggOpus, 'flac': FLAC, 'ogg': OggVorbis}
[info['ext']](temp_filename))
covart = Picture()
covart.data = open(thumbnail_filename, 'rb').read()