diff options
| author | 2021-03-14 13:39:26 +0000 | |
|---|---|---|
| committer | 2021-03-14 13:39:26 +0000 | |
| commit | 3eb23d5307bbf4abc03522e3ba9903e42131bb27 (patch) | |
| tree | 5f6f3039960ea128df2a7cd755f6e8e9e1bf8a07 /bot/exts | |
| parent | Remove unnecessary lambda in when getting closest colour (diff) | |
Pull the function signature back onto one line for readibility
Diffstat (limited to 'bot/exts')
| -rw-r--r-- | bot/exts/evergreen/profile_pic_modification/_effects.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/bot/exts/evergreen/profile_pic_modification/_effects.py b/bot/exts/evergreen/profile_pic_modification/_effects.py index 2ff92000..9319a1b8 100644 --- a/bot/exts/evergreen/profile_pic_modification/_effects.py +++ b/bot/exts/evergreen/profile_pic_modification/_effects.py @@ -70,11 +70,7 @@ class PfpEffects: return ring @staticmethod - def pridify_effect( - image: Image, - pixels: int, - flag: str - ) -> Image: + def pridify_effect(image: Image, pixels: int, flag: str) -> Image: """Applies the pride effect to the given image.""" image = image.resize((1024, 1024)) image = PfpEffects.crop_avatar_circle(image) |