Fix lint problems

This commit is contained in:
Emmanuelle Helly 2018-10-05 16:51:16 +02:00
parent 4178432771
commit a2150ad02f

View File

@ -180,6 +180,7 @@ def save_post_admin(name, timestamp):
return redirect(request.url)
return redirect(url_for('admin', name=name))
@app.route('/posts/<name>')
@app.route('/posts/<name>/page/<int:page>')
def posts(name, page=1):
@ -240,6 +241,7 @@ def post(name, timestamp):
name=name
)
@app.route('/post_image/<path:path>')
def post_image(path):
if path.count('/') != 3: