mirror of https://github.com/zulip/zulip.git
pep8: Add compliance with rule E261 to zerver/views/user_settings.py.
This commit is contained in:
parent
cc2b334020
commit
092d670e85
|
@ -171,7 +171,7 @@ def update_display_settings_backend(request, user_profile,
|
||||||
emojiset not in UserProfile.emojiset_choices()):
|
emojiset not in UserProfile.emojiset_choices()):
|
||||||
raise JsonableError(_("Invalid emojiset '%s'" % (emojiset,)))
|
raise JsonableError(_("Invalid emojiset '%s'" % (emojiset,)))
|
||||||
|
|
||||||
result = {} # type: Dict[str, Any]
|
result = {} # type: Dict[str, Any]
|
||||||
if (default_language is not None and
|
if (default_language is not None and
|
||||||
user_profile.default_language != default_language):
|
user_profile.default_language != default_language):
|
||||||
do_set_user_display_setting(user_profile, "default_language", default_language)
|
do_set_user_display_setting(user_profile, "default_language", default_language)
|
||||||
|
|
Loading…
Reference in New Issue