mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-10-02 07:37:08 +02:00
New Lz4 Api
print ( ) work on pyton 3.8 for me
This commit is contained in:
parent
3295132946
commit
3e9e5c86c0
@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env python
|
||||
import sys, lz4
|
||||
import sys, lz4 ,lz4.block
|
||||
from struct import unpack as up
|
||||
|
||||
def lz4_compress(data):
|
||||
@ -19,7 +19,7 @@ def split_binary(data):
|
||||
|
||||
def main(argc, argv):
|
||||
if argc != 3:
|
||||
print 'Usage: %s in outdir' % argv[0]
|
||||
print ('Usage: %s in outdir' % argv[0])
|
||||
return 1
|
||||
with open(argv[1], 'rb') as f:
|
||||
data = f.read()
|
||||
|
Loading…
Reference in New Issue
Block a user