You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Encoding fails when blockSize is 1, because of stdout progress indicator :
lz4enc.py
# show progress
if (i & 511) == 0 or i == (blockSize - 1):
sys.stdout.write(" Scanning block data " + str(int(i*100/(blockSize-1))) + "%...\r")
sys.stdout.flush()
Adding a test will fix the issue :
# show progress
if (i & 511) == 0 or i == (blockSize - 1):
if (blockSize > 1):
sys.stdout.write(" Scanning block data " + str(int(i*100/(blockSize-1))) + "%...\r")
sys.stdout.flush()
The text was updated successfully, but these errors were encountered:
Encoding fails when blockSize is 1, because of stdout progress indicator :
lz4enc.py
Adding a test will fix the issue :
The text was updated successfully, but these errors were encountered: