aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dlc/postprocessor/embedthumbnail.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan@gmail.com>2021-01-29 01:02:37 +0530
committerpukkandan <pukkandan@gmail.com>2021-01-29 01:03:32 +0530
commit66c935fb16c21280dde261f7f48f04c50c462df5 (patch)
tree6cd5b3a972ce096331ffdee118ac80254f280980 /youtube_dlc/postprocessor/embedthumbnail.py
parent64c0d954e573a608e497c8318b35a81c25583003 (diff)
downloadhypervideo-pre-66c935fb16c21280dde261f7f48f04c50c462df5.tar.lz
hypervideo-pre-66c935fb16c21280dde261f7f48f04c50c462df5.tar.xz
hypervideo-pre-66c935fb16c21280dde261f7f48f04c50c462df5.zip
Linter and misc cleanup
:ci skip dl
Diffstat (limited to 'youtube_dlc/postprocessor/embedthumbnail.py')
-rw-r--r--youtube_dlc/postprocessor/embedthumbnail.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dlc/postprocessor/embedthumbnail.py b/youtube_dlc/postprocessor/embedthumbnail.py
index 2bce72bea..b9205a5ca 100644
--- a/youtube_dlc/postprocessor/embedthumbnail.py
+++ b/youtube_dlc/postprocessor/embedthumbnail.py
@@ -153,7 +153,7 @@ class EmbedThumbnailPP(FFmpegPostProcessor):
elif info['ext'] in ['ogg', 'opus']:
if not _has_mutagen:
- raise EmbedThumbnailPPError('module mutagen was not found. Please install.')
+ raise EmbedThumbnailPPError('module mutagen was not found. Please install')
size_regex = r',\s*(?P<w>\d+)x(?P<h>\d+)\s*[,\[]'
size_result = self.run_ffmpeg(thumbnail_filename, thumbnail_filename, ['-hide_banner'])
mobj = re.search(size_regex, size_result)