keep pointer to im object to prevent dereferencing

This commit is contained in:
homm 2016-07-03 05:03:25 +03:00
parent c36c5fcf0f
commit cedaaad1cf

View File

@ -54,6 +54,9 @@ class PyAccess(object):
self.xsize = vals['xsize']
self.ysize = vals['ysize']
# Keep pointer to im object to prevent dereferencing.
self._im = img.im
# Debugging is polluting test traces, only useful here
# when hacking on PyAccess
# logger.debug("%s", vals)