Update example

This commit is contained in:
Sander
2020-01-05 17:05:27 +01:00
committed by sander
parent ad2a1db6c5
commit 4012836eee
+2 -2
View File
@@ -21,13 +21,13 @@ Session(app)
@app.route('/set/')
def set():
async def set():
session['key'] = 'value'
return 'ok'
@app.route('/get/')
def get():
async def get():
return session.get('key', 'not set')