Change some string literals for consistency
This commit is contained in:
parent
ce555ba382
commit
734057d7db
|
|
@ -140,7 +140,7 @@ class FFmpeg(ParameterContainer):
|
||||||
:param args: A list of Containers that should be appended
|
:param args: A list of Containers that should be appended
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, binary="ffmpeg", *args):
|
def __init__(self, binary='ffmaeg', *args):
|
||||||
self.binary = binary
|
self.binary = binary
|
||||||
self.process = None
|
self.process = None
|
||||||
ParameterContainer.__init__(self, *args)
|
ParameterContainer.__init__(self, *args)
|
||||||
|
|
|
||||||
12
setup.py
12
setup.py
|
|
@ -21,16 +21,16 @@ resulting command.
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="ffmpegwrapper",
|
name='ffmpegwrapper',
|
||||||
version="0.1-dev",
|
version='0.1-dev',
|
||||||
packages=['ffmpegwrapper'],
|
packages=['ffmpegwrapper'],
|
||||||
author="Mathias Koehler",
|
author='Mathias Koehler',
|
||||||
author_email="mail@mathias.im",
|
author_email='mail@mathias.im',
|
||||||
url="http://github.com/interrupted/ffmpegwrapper",
|
url='http://github.com/interrupted/ffmpegwrapper',
|
||||||
description='A simple wrapper for ffmpeg-cli',
|
description='A simple wrapper for ffmpeg-cli',
|
||||||
keywords='Video Convert Ffmpeg',
|
keywords='Video Convert Ffmpeg',
|
||||||
long_description=__doc__,
|
long_description=__doc__,
|
||||||
license="BSD",
|
license='BSD',
|
||||||
test_suite='test',
|
test_suite='test',
|
||||||
tests_require='mock>=0.7.2',
|
tests_require='mock>=0.7.2',
|
||||||
classifiers=[
|
classifiers=[
|
||||||
|
|
|
||||||
2
test.py
2
test.py
|
|
@ -119,7 +119,7 @@ class VideoFilterTestCase(unittest.TestCase):
|
||||||
self.prefix('drawbox=10:10:10:10:red'))
|
self.prefix('drawbox=10:10:10:10:red'))
|
||||||
|
|
||||||
def test_drawtext(self):
|
def test_drawtext(self):
|
||||||
self.filter.drawtext(fontfile="./font.ttf", text="Title")
|
self.filter.drawtext(fontfile='./font.ttf', text='Title')
|
||||||
self.assertEqual(list(self.filter),
|
self.assertEqual(list(self.filter),
|
||||||
self.prefix('drawtext="fontfile=./font.ttf:text=Title"'))
|
self.prefix('drawtext="fontfile=./font.ttf:text=Title"'))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue