aboutsummaryrefslogtreecommitdiffstats
path: root/bot
diff options
context:
space:
mode:
authorGravatar Chris <[email protected]>2021-03-14 13:39:26 +0000
committerGravatar Chris <[email protected]>2021-03-14 13:39:26 +0000
commit3eb23d5307bbf4abc03522e3ba9903e42131bb27 (patch)
tree5f6f3039960ea128df2a7cd755f6e8e9e1bf8a07 /bot
parentRemove unnecessary lambda in when getting closest colour (diff)
Pull the function signature back onto one line for readibility
Diffstat (limited to 'bot')
-rw-r--r--bot/exts/evergreen/profile_pic_modification/_effects.py6
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)