Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
sage.features.ffmpeg: Make .name lowercase to match optional tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Oct 7, 2021
1 parent 2c95e70 commit 214fa89
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/sage/doctest/external.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def has_ffmpeg():
sage: from sage.doctest.external import has_ffmpeg
sage: has_ffmpeg() # optional -- ffmpeg
FeatureTestResult('FFmpeg', True)
FeatureTestResult('ffmpeg', True)
"""
from sage.features.ffmpeg import FFmpeg
return FFmpeg().is_present()
Expand Down
4 changes: 2 additions & 2 deletions src/sage/features/ffmpeg.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class FFmpeg(Executable):
sage: from sage.features.ffmpeg import FFmpeg
sage: FFmpeg().is_present() # optional: ffmpeg
FeatureTestResult('FFmpeg', True)
FeatureTestResult('ffmpeg', True)
"""
def __init__(self):
r"""
Expand All @@ -33,5 +33,5 @@ def __init__(self):
sage: isinstance(FFmpeg(), FFmpeg)
True
"""
Executable.__init__(self, "FFmpeg", executable="ffmpeg",
Executable.__init__(self, "ffmpeg", executable="ffmpeg",
url="https://www.ffmpeg.org/")

0 comments on commit 214fa89

Please sign in to comment.