projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a64646e
)
[postprocessor/ffmpeg] PEP 8
author
Sergey M․
<dstftw@gmail.com>
Fri, 11 Jan 2019 16:47:23 +0000
(23:47 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 11 Jan 2019 16:47:23 +0000
(23:47 +0700)
youtube_dl/postprocessor/ffmpeg.py
patch
|
blob
|
history
diff --git
a/youtube_dl/postprocessor/ffmpeg.py
b/youtube_dl/postprocessor/ffmpeg.py
index 173bdbe685bd96cbf8366a98afdab4abd4e2d7cc..a9fafa363b762acd7cc7151a82abc9bec5996cca 100644
(file)
--- a/
youtube_dl/postprocessor/ffmpeg.py
+++ b/
youtube_dl/postprocessor/ffmpeg.py
@@
-83,8
+83,8
@@
class FFmpegPostProcessor(PostProcessor):
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)