make pep8 a little happier
This commit is contained in:
parent
b2a929ac2a
commit
b9ac31aee0
3 changed files with 9 additions and 3 deletions
|
@ -21,6 +21,7 @@ Bootstrap(app)
|
|||
|
||||
attachment_filenames = {}
|
||||
|
||||
|
||||
class DownloadForm(FlaskForm):
|
||||
start_time = DateTimeField('Start time',
|
||||
validators=[InputRequired()],
|
||||
|
@ -111,8 +112,8 @@ def prepare_download(form):
|
|||
|
||||
c = ['ffmpeg', '-y']
|
||||
c += ['-ss', str(ss)]
|
||||
c += ['-i', 'concat:' + '|'.join([os.path.join(app.config['DATA_DIR'],
|
||||
source['fn']) for source in sources])]
|
||||
c += ['-i', 'concat:' + '|'.join(
|
||||
[os.path.join(app.config['DATA_DIR'], s['fn']) for s in sources])]
|
||||
c += ['-codec', 'copy']
|
||||
c += ['-t', str(form.length.data * 60)]
|
||||
c += [os.path.join(app.config['TMP_DIR'], output_filename)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue