python/pypngtile.pyx
changeset 104 b5ae988c78b8
parent 91 0bf7878bdf5c
child 133 67f956b71bdf
--- a/python/pypngtile.pyx	Tue Jan 26 01:26:05 2010 +0200
+++ b/python/pypngtile.pyx	Tue Jan 26 01:37:01 2010 +0200
@@ -97,10 +97,16 @@
 
     cdef pt_image *image
 
+    # XXX: should really be a pt_image property...
+    cdef readonly object path
+
     
     # open the pt_image
     def __cinit__ (self, char *path, int mode = 0) :
         cdef int err
+
+        # store
+        self.path = path
         
         # open
         with nogil :