Fix language selection

merge-requests/64/head
Hugo Posnic 2017-10-07 19:38:59 +02:00
parent 16651d9396
commit ea021dae79
1 changed files with 2 additions and 1 deletions

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(