mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-16 18:59:09 +00:00
Remove print statement from bytes check.
This commit is contained in:
parent
080b8119ad
commit
46be218394
@ -300,7 +300,6 @@ class Client:
|
|||||||
@asyncio.coroutine
|
@asyncio.coroutine
|
||||||
def received_message(self, msg):
|
def received_message(self, msg):
|
||||||
if isinstance(msg, bytes):
|
if isinstance(msg, bytes):
|
||||||
print('compressed')
|
|
||||||
msg = zlib.decompress(msg, 15, 10490000) # This is 10 MiB
|
msg = zlib.decompress(msg, 15, 10490000) # This is 10 MiB
|
||||||
msg = msg.decode('utf-8')
|
msg = msg.decode('utf-8')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user