[embedthumbnai] Ran flake8 over the code and fixed according to its standard.
This commit is contained in:
parent
cbe64c52c1
commit
982f386fdf
@ -101,8 +101,8 @@ class EmbedThumbnailPP(FFmpegPostProcessor):
|
|||||||
raise EmbedThumbnailPPError('mutagen was not found. Please install.')
|
raise EmbedThumbnailPPError('mutagen was not found. Please install.')
|
||||||
|
|
||||||
shutil.copyfile(filename, temp_filename)
|
shutil.copyfile(filename, temp_filename)
|
||||||
aufile = {'opus': OggOpus, 'flac': FLAC, 'ogg': OggVorbis} \
|
aufile = ({'opus': OggOpus, 'flac': FLAC, 'ogg': OggVorbis}
|
||||||
[info['ext']](temp_filename)
|
[info['ext']](temp_filename))
|
||||||
|
|
||||||
covart = Picture()
|
covart = Picture()
|
||||||
covart.data = open(thumbnail_filename, 'rb').read()
|
covart.data = open(thumbnail_filename, 'rb').read()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user