changeset 105 | 30c091643f75 |
parent 103 | 1a6a6957197d |
child 127 | df89d13f2354 |
--- a/pngtile/render.py Tue Jan 26 01:37:01 2010 +0200 +++ b/pngtile/render.py Tue Jan 26 01:37:16 2010 +0200 @@ -186,8 +186,7 @@ if cache : # cache key - # XXX: need a better id for the image.. - key = "tl_%d:%d_%d:%d:%d_%s" % (x, y, width, height, zl, id(image)) + key = "tl_%d:%d_%d:%d:%d_%s" % (x, y, width, height, zl, image.path) # lookup data = cache.get(key)