make pep8 a little happier

stable
neingeist 6 years ago
parent b2a929ac2a
commit b9ac31aee0

@ -1,4 +1,6 @@
import os, random, string
import os
import random
import string
class Config:

@ -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)]

@ -0,0 +1,3 @@
[pep8]
#ignore =
max-line-length = 160
Loading…
Cancel
Save