added lz4.block

without adding this, it gives error "AttributeError: module 'lz4' has no attribute 'block'" when compiling
This commit is contained in:
GametasticYT 2020-06-15 17:50:41 +02:00 committed by GitHub
parent 3295132946
commit ac46363ed8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
#!/usr/bin/env python #!/usr/bin/env python
import sys, lz4 import sys, lz4, lz4.block
from struct import unpack as up from struct import unpack as up
def lz4_compress(data): def lz4_compress(data):