Corrected indentation

This commit is contained in:
Vivek Santayana 2023-03-04 18:53:02 +00:00
parent 0ef39dcfbe
commit 7aa4d81e65

View File

@ -38,8 +38,8 @@ def _view_console(id:str=None):
datasets = Dataset.query.count()
users = User.query.all()
except Exception as exception:
write('system.log', f'Database error when processing request \'{request.url}\': {exception}')
return abort(500)
write('system.log', f'Database error when processing request \'{request.url}\': {exception}')
return abort(500)
if not dataset:
flash('Invalid dataset ID.', 'error')
return redirect(url_for('admin._questions'))