Commit 9554c3e5 authored by jkvis's avatar jkvis

Concurrency and e-mail lists

parent e2903ac2
......@@ -6,6 +6,7 @@ from __future__ import unicode_literals
from flask import (Flask, jsonify)
from flask.ext.mail import Mail
from flask.ext.sqlalchemy import SQLAlchemy
from multiprocessing import Lock
from werkzeug.exceptions import (default_exceptions, HTTPException)
......@@ -34,6 +35,7 @@ app.config.from_envvar('TRANSFER_CONFIG')
db = SQLAlchemy(app)
mail = Mail(app)
lock = Lock()
def json_error(ex):
"""
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment