aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris <[email protected]>2021-03-06 12:20:25 +0000
committerGravatar Chris <[email protected]>2021-03-06 12:20:25 +0000
commit365a272ce235706006a36acd0eac09637205a1ae (patch)
tree8be73c18a7c6786ceda6f2c39028858e50f4c817
parentRemove superfluous str cast. (diff)
Split up complex line.
-rw-r--r--bot/exts/evergreen/profile_pic_modification/_effects.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/bot/exts/evergreen/profile_pic_modification/_effects.py b/bot/exts/evergreen/profile_pic_modification/_effects.py
index 99010931..dda58006 100644
--- a/bot/exts/evergreen/profile_pic_modification/_effects.py
+++ b/bot/exts/evergreen/profile_pic_modification/_effects.py
@@ -127,5 +127,8 @@ class PfpEffects:
im = Image.new("RGBA", image.size)
im.putdata(new_pixel_data)
- im.alpha_composite(overlay_image, (im.width - overlay_image.width, (im.height - overlay_image.height)//2))
+ im.alpha_composite(
+ overlay_image,
+ (im.width - overlay_image.width, (im.height - overlay_image.height) // 2)
+ )
return im