From 63d0d198eb6f4ae974ef71a2a72146d20546559a Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Mon, 23 Oct 2023 13:03:38 +0100 Subject: [PATCH] Don't try and set locale, it isn't working --- app.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/app.py b/app.py index 24f4d44..a8fda6a 100755 --- a/app.py +++ b/app.py @@ -4,7 +4,6 @@ import hashlib import inspect import itertools import json -import locale import os import re import socket @@ -56,7 +55,6 @@ from depicts.model import ( ) from depicts.pager import Pagination, init_pager -locale.setlocale(locale.LC_ALL, "en_US.UTF-8") user_agent = "Mozilla/5.0 (X11; Linux i586; rv:32.0) Gecko/20160101 Firefox/32.0" app = Flask(__name__)