pep8: Add compliance with rule E261 to zerver/views/user_settings.py.

This commit is contained in:
Aditya Bansal 2017-05-18 01:46:38 +05:30
parent cc2b334020
commit 092d670e85
1 changed files with 1 additions and 1 deletions

View File

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