diff options
| author | 2019-05-12 06:04:35 +0100 | |
|---|---|---|
| committer | 2019-05-12 06:04:35 +0100 | |
| commit | e2c29eec9780043bcda1e276d5119d18a1d22bb1 (patch) | |
| tree | 1e9fec836b40e17aee0110f6e18469850a42988d | |
| parent | Pride Avatar (diff) | |
remove debug print statements
| -rw-r--r-- | bot/seasons/pride/pride_avatar.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bot/seasons/pride/pride_avatar.py b/bot/seasons/pride/pride_avatar.py index 925c0ebf..b5038f02 100644 --- a/bot/seasons/pride/pride_avatar.py +++ b/bot/seasons/pride/pride_avatar.py @@ -105,13 +105,11 @@ class PrideAvatar(commands.Cog): avatar = Image.open(BytesIO(image_bytes)) avatar = avatar.convert("RGBA").resize((1024, 1024)) - print(avatar.size) - avatar = self.crop_avatar(avatar) ring = Image.open(Path("bot", "resources", "pride", "flags", f"{flag}.png")).resize((1024, 1024)) ring = self.crop_ring(ring, pixels) - print(ring.size) + avatar.alpha_composite(ring, (0, 0)) bufferedio = BytesIO() avatar.save(bufferedio, format="PNG") |