handle uncompressed etc correctly
This commit is contained in:
parent
a3c1cc83a9
commit
f9a66d0e74
@ -631,6 +631,7 @@ class MCLevel:
|
|||||||
print "Exception during Gzip operation, assuming {0} uncompressed: ".format(filename), e
|
print "Exception during Gzip operation, assuming {0} uncompressed: ".format(filename), e
|
||||||
if unzippedData is None:
|
if unzippedData is None:
|
||||||
compressed = False;
|
compressed = False;
|
||||||
|
unzippedData = rawdata
|
||||||
#if(ungzdata): data=ungzdata
|
#if(ungzdata): data=ungzdata
|
||||||
|
|
||||||
data = fromstring(unzippedData, dtype='uint8')
|
data = fromstring(unzippedData, dtype='uint8')
|
||||||
|
Reference in New Issue
Block a user