[mod] blank lines for lisibility
This commit is contained in:
parent
605545b8d1
commit
4c6729b2f0
@ -94,10 +94,14 @@ class Video(object):
|
|||||||
thumbnail_name = self.name.split(".")
|
thumbnail_name = self.name.split(".")
|
||||||
thumbnail_name[-2] += "-%s" % gm_geometry
|
thumbnail_name[-2] += "-%s" % gm_geometry
|
||||||
thumbnail_name = thumbnail_name[-2] + ".png"
|
thumbnail_name = thumbnail_name[-2] + ".png"
|
||||||
|
|
||||||
source, target = os.path.join(self.base_dir, self.name), os.path.join(self.target_dir, thumbnail_name)
|
source, target = os.path.join(self.base_dir, self.name), os.path.join(self.target_dir, thumbnail_name)
|
||||||
|
|
||||||
options = self.options.copy()
|
options = self.options.copy()
|
||||||
options.update({"resize": gm_geometry})
|
options.update({"resize": gm_geometry})
|
||||||
|
|
||||||
self.ffmpeg(source, target, options)
|
self.ffmpeg(source, target, options)
|
||||||
|
|
||||||
return thumbnail_name
|
return thumbnail_name
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user