Set German Locale explicitely

This commit is contained in:
Felix Blanke 2023-08-27 18:59:37 +02:00
parent e571c6178e
commit f1471e21a5

View File

@ -21,7 +21,9 @@ config = {
"CACHE_THRESHOLD": 1000,
"CACHE_DIR": "cache",
}
import locale
locale.setlocale(locale.LC_ALL, "de_DE.UTF-8")
app = Flask(__name__)
app.config.from_mapping(config)
cache = Cache(app)