mirror of
https://github.com/blackjack4494/yt-dlc.git
synced 2024-12-23 00:07:49 +00:00
[postprocessor/ffmpeg] PEP 8
This commit is contained in:
parent
a64646e417
commit
5caa531a1a
1 changed files with 2 additions and 2 deletions
|
@ -83,8 +83,8 @@ class FFmpegPostProcessor(PostProcessor):
|
||||||
ver = get_exe_version(path, args=['-version'])
|
ver = get_exe_version(path, args=['-version'])
|
||||||
if ver:
|
if ver:
|
||||||
regexs = [
|
regexs = [
|
||||||
r'([0-9.]+)-0ubuntu0\.[0-9.]+$', # Ubuntu
|
r'([0-9.]+)-0ubuntu0\.[0-9.]+$', # Ubuntu
|
||||||
r'n([0-9.]+)$', # Arch Linux
|
r'n([0-9.]+)$', # Arch Linux
|
||||||
]
|
]
|
||||||
for regex in regexs:
|
for regex in regexs:
|
||||||
mobj = re.match(regex, ver)
|
mobj = re.match(regex, ver)
|
||||||
|
|
Loading…
Reference in a new issue