fix bug introduced by rearranged imports

This commit is contained in:
David Vierra 2011-08-05 06:20:52 -10:00
parent 72dc4374dd
commit aab4d07776

View File

@ -2513,7 +2513,7 @@ class ZipSchematic (MCInfdevOldLevel):
raise NotImplementedError, "Cannot save zipfiles yet!"
with closing(self.zipfile.open("level.dat")) as f:
with closing(gzip.GzipFile(fileobj=StringIO.StringIO(f.read()))) as g:
with closing(gzip.GzipFile(fileobj=StringIO(f.read()))) as g:
self.root_tag = nbt.load(buf=g.read())
def chunkFilename(self, x, z):