Placeholder text

pull/73/head^2
Christopher Usher 5 years ago
parent 23e3cfce20
commit d07cb5de44

@ -151,7 +151,7 @@ def update_row(ident, new_row):
return 'Invalid state {}'.format(new_row['state']), 400 return 'Invalid state {}'.format(new_row['state']), 400
new_row['uploader'] = None new_row['uploader'] = None
new_row['error'] = None new_row['error'] = None
editor = '' # TODO replace with email form authentication editor = 'PLACEHOLDER' # TODO replace with email form authentication
new_row['editor'] = editor new_row['editor'] = editor
new_row['edit_time'] = datetime.datetime.utcnow() new_row['edit_time'] = datetime.datetime.utcnow()
@ -189,7 +189,7 @@ def manual_link(ident):
return 'Row {} not found'.format(ident), 404 return 'Row {} not found'.format(ident), 404
if old_row.state != 'UNEDITED' and not (old_row.state == 'DONE' and old_row.upload_location == 'manual'): if old_row.state != 'UNEDITED' and not (old_row.state == 'DONE' and old_row.upload_location == 'manual'):
return 'Invalid state {} for manual video link'.format(old_row.state), 403 return 'Invalid state {} for manual video link'.format(old_row.state), 403
editor = '' # TODO replace with email form authentication editor = 'PLACEHOLDER' # TODO replace with email form authentication
now = datetime.datetime.utcnow() now = datetime.datetime.utcnow()
results = database.query(conn, """ results = database.query(conn, """
UPDATE events UPDATE events

Loading…
Cancel
Save