From d110b729d9e5fef28d5f6411166ced23c912cf76 Mon Sep 17 00:00:00 2001 From: rvangenderen Date: Fri, 8 Mar 2019 12:12:58 +0100 Subject: [PATCH] fix typo in language function --- webapp_admin/webapp_admin.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webapp_admin/webapp_admin.py b/webapp_admin/webapp_admin.py index ecdee66..e0db391 100755 --- a/webapp_admin/webapp_admin.py +++ b/webapp_admin/webapp_admin.py @@ -179,12 +179,12 @@ Change the language """ def language(user, language): settings = read_settings(user) - # Get language from PR_LANGUAGE - if language == 'userdefined': + # Get language from PR_LANGUAGE + if language == 'userdefined': try: language = user.prop(PR_LANGUAGE).value except: - print('User language is not defined using en_GB as fallback' + print('User language is not defined using en_GB as fallback') language = 'en_GB' if not settings['settings']['zarafa']['v1'].get('main'):