Fix deprecated werkzeug import

Close: #1830
Signed-off-by: Nicolas Gelot <nicolas.gelot@e.email>
This commit is contained in:
Nicolas Gelot 2020-02-06 22:40:58 +01:00
parent 6060ab85f8
commit b8b13372c8
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
certifi==2019.3.9 certifi==2019.3.9
babel==2.7.0 babel==2.7.0
flask-babel==0.12.2 flask-babel==1.0.0
flask==1.0.2 flask==1.0.2
idna==2.8 idna==2.8
jinja2==2.10.1 jinja2==2.10.1

View file

@ -47,7 +47,7 @@ except:
from html import escape from html import escape
from datetime import datetime, timedelta from datetime import datetime, timedelta
from time import time from time import time
from werkzeug.contrib.fixers import ProxyFix from werkzeug.middleware.proxy_fix import ProxyFix
from flask import ( from flask import (
Flask, request, render_template, url_for, Response, make_response, Flask, request, render_template, url_for, Response, make_response,
redirect, send_from_directory redirect, send_from_directory