From 435e3d698dd5fe7903d6ac37a7392c5e1a854951 Mon Sep 17 00:00:00 2001 From: Guy Godfroy Date: Thu, 3 Dec 2020 16:35:08 +0100 Subject: [PATCH] fix locale --- geminer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geminer.py b/geminer.py index be72930..c27206c 100755 --- a/geminer.py +++ b/geminer.py @@ -9,7 +9,7 @@ import locale import config # locale (for templates, for example dates rendering) -locale = "fr_FR.utf8" +locale.setlocale(locale.LC_ALL, config.locale) md_path = os.path.expanduser(config.md_dir) gmi_path = os.path.expanduser(config.gmi_dir)