replace flask with sanic

This commit is contained in:
Yax
2017-07-08 20:21:39 +02:00
parent 19655b24df
commit 47008dc23a
6 changed files with 44 additions and 52 deletions
+3 -4
View File
@@ -1,5 +1,4 @@
from flask import Flask
from flask.ext.cache import Cache
from sanic import Sanic
app = Flask(__name__)
cache = Cache(app, config={'CACHE_TYPE': 'simple'})
app = Sanic()
cache = {}