annot-server/webapp/__init__.py
author rougeronj
Thu, 22 Jan 2015 09:26:43 +0100
changeset 111 a7b72620d227
parent 42 926f0426ce78
child 108 082b64a5c699
permissions -rw-r--r--
Add variable "wait". When this variable set, the annotsroll wait ignore some annotations, and wait before printing an otherone so there is no superposition. Can be passed as an options

#
# See LICENCE for detail
# Copyright (c) 2014 IRI
#

import uuid
import json

from flask import Flask

import config
import database

app = Flask(__name__)
app.secret_key = str(uuid.uuid4())
app.debug = config.DEBUG
app.config.from_object(config)

import webapp.views
import webapp.api
import webapp.admin