mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
python: Reformat with Black, except quotes.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
5028c081cb
commit
11741543da
@@ -22,6 +22,7 @@ def patched_user_avatar_path(user_profile: UserProfile) -> str:
|
||||
user_key = email.lower() + settings.AVATAR_SALT
|
||||
return make_safe_digest(user_key, hashlib.sha1)
|
||||
|
||||
|
||||
@patch('zerver.lib.upload.user_avatar_path', patched_user_avatar_path)
|
||||
def verify_medium_avatar_image(apps: StateApps, schema_editor: DatabaseSchemaEditor) -> None:
|
||||
user_profile_model = apps.get_model('zerver', 'UserProfile')
|
||||
|
||||
Reference in New Issue
Block a user