Media Description not reported, typo

svn: r21057
This commit is contained in:
Doug Blank 2013-01-11 13:18:55 +00:00
parent 9155b2feb6
commit 31d2a7e3a0

View File

@ -345,7 +345,7 @@ class CheckIntegrity(object):
logging.warning(' FAIL: encoding error on media object '
'"%(gid)s" path "%(path)s"' %
{'gid' : obj.gramps_id, 'path' : obj.path})
if not isinstance(data[2], UNITYPE):
if not isinstance(data[4], UNITYPE):
logging.warning(' FAIL: encoding error on media object '
'"%(gid)s" description "%(desc)s"' %
{'gid' : obj.gramps_id, 'desc' : obj.desc})