From 2eb85ae9462cd2d393bdae1fdf2582484f689878 Mon Sep 17 00:00:00 2001 From: Ryan McCue Date: Sat, 11 Dec 2010 21:18:02 +1000 Subject: [PATCH] Use the proper directory to walk --- world.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/world.py b/world.py index 8d5c2c5..17b9ef6 100644 --- a/world.py +++ b/world.py @@ -112,7 +112,7 @@ class WorldRenderer(object): # In order to avoid having to look up the cache file names in # ChunkRenderer, get them all and store them here - for root, dirnames, filenames in os.walk('.'): + for root, dirnames, filenames in os.walk(cachedir): for filename in filenames: if not filename.endswith('.png'): continue