From fdb317c5595a5d557e142a369b945c307ba6dd9e Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Mon, 29 May 2023 16:47:32 -0400 Subject: [PATCH] Don't force ASCII output --- libretranslate/app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/libretranslate/app.py b/libretranslate/app.py index e9f1d13..ecc2c15 100644 --- a/libretranslate/app.py +++ b/libretranslate/app.py @@ -1058,6 +1058,7 @@ def create_app(args): app.config["SESSION_TYPE"] = "filesystem" app.config["SESSION_FILE_DIR"] = os.path.join("db", "sessions") + app.config["JSON_AS_ASCII"] = False Session(app) if args.debug: