mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-24 13:46:53 +01:00
[postprocessor/ffmpeg] PEP 8
This commit is contained in:
parent
a64646e417
commit
5caa531a1a
@ -83,8 +83,8 @@ def get_ffmpeg_version(path):
|
||||
ver = get_exe_version(path, args=['-version'])
|
||||
if ver:
|
||||
regexs = [
|
||||
r'([0-9.]+)-0ubuntu0\.[0-9.]+$', # Ubuntu
|
||||
r'n([0-9.]+)$', # Arch Linux
|
||||
r'([0-9.]+)-0ubuntu0\.[0-9.]+$', # Ubuntu
|
||||
r'n([0-9.]+)$', # Arch Linux
|
||||
]
|
||||
for regex in regexs:
|
||||
mobj = re.match(regex, ver)
|
||||
|
Loading…
Reference in New Issue
Block a user