pep8 prosopopee.py

This commit is contained in:
Adrien Beudin 2016-04-29 15:55:14 +02:00
parent fc82ddc1ab
commit bec58371d6

View File

@ -33,6 +33,7 @@ SETTINGS = {
} }
} }
class Video(object): class Video(object):
base_dir = "" base_dir = ""
target_dir = "" target_dir = ""
@ -41,7 +42,8 @@ class Video(object):
# assuming string # assuming string
if not isinstance(options, dict): if not isinstance(options, dict):
options = {"video": options} options = {"video": options}
self.options = SETTINGS["ffmpeg"].copy() # used for caching, if it's modified -> regenerate # used for caching, if it's modified -> regenerate
self.options = SETTINGS["ffmpeg"].copy()
self.options.update(options) self.options.update(options)
@property @property