diff options
| author | 2020-03-05 11:06:08 +0700 | |
|---|---|---|
| committer | 2020-03-05 11:06:08 +0700 | |
| commit | 8c068a3d96512d7bea5a2c7566690ded745b814c (patch) | |
| tree | a3ee6fb6422e501eb5dcd9b89b668ac745975fcb /bot/seasons/evergreen/snakes/snakes_cog.py | |
| parent | Merge pull request #361 from ks129/games-command (diff) | |
| parent | CI: run pre-commit hooks in CI (diff) | |
Merge pull request #368 from python-discord/feat/deps/355/pep8-naming
Add pep8-naming and more pre-commit hooks
Diffstat (limited to 'bot/seasons/evergreen/snakes/snakes_cog.py')
| -rw-r--r-- | bot/seasons/evergreen/snakes/snakes_cog.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/seasons/evergreen/snakes/snakes_cog.py b/bot/seasons/evergreen/snakes/snakes_cog.py index 1ed38f86..09f5e250 100644 --- a/bot/seasons/evergreen/snakes/snakes_cog.py +++ b/bot/seasons/evergreen/snakes/snakes_cog.py @@ -617,8 +617,8 @@ class Snakes(Cog): text_color=text_color, bg_color=bg_color ) - png_bytesIO = utils.frame_to_png_bytes(image_frame) - file = File(png_bytesIO, filename='snek.png') + png_bytes = utils.frame_to_png_bytes(image_frame) + file = File(png_bytes, filename='snek.png') await ctx.send(file=file) @snakes_group.command(name='get') |