Fix missing self

This commit is contained in:
Hugo Posnic 2016-12-19 20:40:29 +01:00
parent 252c9dfd16
commit aed8c5bd20

View File

@ -63,7 +63,7 @@ class ManjaroHello():
self.default_texts = {}
# Choose best locale for user
if self.preferences["locale"] not in self.locales:
if self.sys_locale in locales:
if self.sys_locale in self.locales:
self.preferences["locale"] = self.sys_locale
else:
if self.sys_locale[:2] in self.locales: