Fix language selection

This commit is contained in:
Hugo Posnic 2017-10-07 19:38:59 +02:00
parent 16651d9396
commit ea021dae79

View File

@ -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(