Merge pull request #17 from PythonCoderAS/master

Update to Py3 and PEP8ify
This commit is contained in:
c0decracker 2021-10-02 10:51:29 -07:00 committed by GitHub
commit 80880cd65e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,7 @@ from optparse import OptionParser
def split_by_manifest(filename, manifest, vcodec="copy", acodec="copy",
extra="", **kwargs):
extra=""):
""" Split video into segments based on the given manifest file.
Arguments:
@ -88,7 +88,7 @@ def ceildiv(a, b):
def split_by_seconds(filename, split_length, vcodec="copy", acodec="copy",
extra="", video_length=None, **kwargs):
extra="", video_length=None):
if split_length and split_length <= 0:
print("Split length can't be 0")
raise SystemExit