handle uncompressed etc correctly

This commit is contained in:
David Vierra 2010-09-21 01:54:55 -10:00
parent a3c1cc83a9
commit f9a66d0e74

View File

@ -631,6 +631,7 @@ class MCLevel:
print "Exception during Gzip operation, assuming {0} uncompressed: ".format(filename), e
if unzippedData is None:
compressed = False;
unzippedData = rawdata
#if(ungzdata): data=ungzdata
data = fromstring(unzippedData, dtype='uint8')