changeset 335:162662bf5c8a

PyChan fixes: * Fixed stupidity.
author phoku@33b003aa-7bff-0310-803a-e67f0ece8222
date Mon, 24 Aug 2009 14:53:17 +0000
parents a9482d3d989e
children 16112ef84609
files engine/extensions/pychan/properties.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/engine/extensions/pychan/properties.py	Mon Aug 24 14:47:23 2009 +0000
+++ b/engine/extensions/pychan/properties.py	Mon Aug 24 14:53:17 2009 +0000
@@ -101,7 +101,7 @@
 			image_info["source"] = getattr(image,"source","")
 			image_info["image"] = image
 			if image_info["source"]:
-				image_info["image"] = get_manager().loadImage(image)
+				image_info["image"] = get_manager().loadImage(image_info["source"])
 			self._getSetter(obj)(image_info["image"])
 		else:
 			attribute_name = "%s.%s" % (obj.__class__.__name__,self.name)