🐛 Workaround for "Request.is_xhr deprecated" warning

This commit is contained in:
Gina Häußge committed 2019-02-07 11:51:09 +01:00
1 parent deee737660
commit caf5be562e
1 file changed
+1
+1
View File
@@ -938,6 +938,7 @@ class Server(object):
app.debug = self._debug
app.config["TEMPLATES_AUTO_RELOAD"] = True
app.config["JSONIFY_PRETTYPRINT_REGULAR"] = False
secret_key = s.get(["server", "secretKey"])
if not secret_key: