Merge branch 'master' of git://github.com/brownan/Minecraft-Overviewer into logging
This commit is contained in:
1
chunk.py
1
chunk.py
@@ -15,7 +15,6 @@
|
|||||||
|
|
||||||
import numpy
|
import numpy
|
||||||
from PIL import Image, ImageDraw
|
from PIL import Image, ImageDraw
|
||||||
from itertools import izip, count
|
|
||||||
import os.path
|
import os.path
|
||||||
import hashlib
|
import hashlib
|
||||||
|
|
||||||
|
|||||||
@@ -173,8 +173,8 @@ class QuadtreeGen(object):
|
|||||||
newdir = "new" + str(dirnum)
|
newdir = "new" + str(dirnum)
|
||||||
newdirpath = getpath(newdir)
|
newdirpath = getpath(newdir)
|
||||||
|
|
||||||
files = [str(dirnum)+"."+imgformat, str(dirnum)+".hash", str(dirnum)]
|
files = [str(dirnum)+"."+self.imgformat, str(dirnum)+".hash", str(dirnum)]
|
||||||
newfiles = [str(newnum)+"."+imgformat, str(newnum)+".hash", str(newnum)]
|
newfiles = [str(newnum)+"."+self.imgformat, str(newnum)+".hash", str(newnum)]
|
||||||
|
|
||||||
os.mkdir(newdirpath)
|
os.mkdir(newdirpath)
|
||||||
for f, newf in zip(files, newfiles):
|
for f, newf in zip(files, newfiles):
|
||||||
|
|||||||
Reference in New Issue
Block a user