From c572259d250c18a78c41e352d5266fb432c9c81b Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Fri, 11 Jan 2013 13:19:46 +0000 Subject: [PATCH] Media Description not reported, typo svn: r21058 --- gramps/plugins/tool/check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/plugins/tool/check.py b/gramps/plugins/tool/check.py index aed913f4d..1972cc9d1 100644 --- a/gramps/plugins/tool/check.py +++ b/gramps/plugins/tool/check.py @@ -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})