mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-04 11:02:29 +00:00
Add isal gzip decompressor
This commit is contained in:
@@ -3,3 +3,4 @@ pysocks
|
|||||||
python-socks[asyncio]
|
python-socks[asyncio]
|
||||||
hachoir
|
hachoir
|
||||||
pillow
|
pillow
|
||||||
|
isal
|
||||||
|
@@ -1,4 +1,7 @@
|
|||||||
import gzip
|
try:
|
||||||
|
from isal import igzip as gzip
|
||||||
|
except ImportError:
|
||||||
|
import gzip
|
||||||
import struct
|
import struct
|
||||||
|
|
||||||
from .. import TLObject
|
from .. import TLObject
|
||||||
|
Reference in New Issue
Block a user