From ea021dae79ef84a640e9ba7d7aebc7a9beef3cb8 Mon Sep 17 00:00:00 2001 From: Hugo Posnic Date: Sat, 7 Oct 2017 19:38:59 +0200 Subject: [PATCH] Fix language selection --- src/manjaro_hello.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/manjaro_hello.py b/src/manjaro_hello.py index f35489f..30d0971 100644 --- a/src/manjaro_hello.py +++ b/src/manjaro_hello.py @@ -164,7 +164,8 @@ class Hello(): } } for method in elts: - self.default_texts[method] = {} + if method not in self.default_texts: + self.default_texts[method] = {} for elt in elts[method]: if elt not in self.default_texts[method]: self.default_texts[method][elt] = getattr(