From b7f4855ec6a03921661e97937ff784b93ef8f678 Mon Sep 17 00:00:00 2001 From: Ryan McCue Date: Sat, 11 Dec 2010 21:31:20 +1000 Subject: [PATCH] Use logging instead of print statement --- chunk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chunk.py b/chunk.py index 32d74b5..92efe10 100644 --- a/chunk.py +++ b/chunk.py @@ -306,9 +306,9 @@ class ChunkRenderer(object): oldimg = oldimg_path = None key = ".".join((self.dirbits[0], self.dirbits[1], self.blockid, "cave" if cave else "nocave")) if key in self.world.cached: - print "Found cached image {0}".format(key) oldimg_path = self.world.cached[key] _, oldimg = os.path.split(oldimg_path) + logging.debug("Found cached image {0}".format(oldimg)) return oldimg, oldimg_path def render_and_save(self, cave=False):