Attempt at debug info on photo display issue.
authorAndrew Flegg <andrew@bleb.org>
Wed, 9 Jun 2010 23:11:45 +0000 (00:11 +0100)
committerAndrew Flegg <andrew@bleb.org>
Wed, 9 Jun 2010 23:11:45 +0000 (00:11 +0100)
package/src/org/maemo/hermes/engine/contact.py

index 25a3144..eeef1fb 100644 (file)
@@ -103,6 +103,7 @@ class Contact:
         EContactPhoto."""
         
         photo = self._contact.get_property('photo')
+        #print "Photo[" + re.sub('[^A-Za-z0-9_-]', '.', string_at(cast(c_void_p(hash(photo)), c_char_p))) + "]"
         pi = cast(c_void_p(hash(photo)), POINTER(EContactPhoto))
         if photo is None or pi.contents.data.uri == '':
             return None