From acb1cb7641d130a9256054c772b9a62ce4f65965 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Sat, 2 Dec 2006 07:34:48 +0000 Subject: [PATCH] Update svn: r7749 --- gramps2/src/plugins/Check.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gramps2/src/plugins/Check.py b/gramps2/src/plugins/Check.py index e9092d156..2447ae2ea 100644 --- a/gramps2/src/plugins/Check.py +++ b/gramps2/src/plugins/Check.py @@ -312,7 +312,8 @@ class CheckIntegrity: # Once we are here, fix the mime string if not str if type(data[3]) != str: try: - data[3] = str(data{3]) + if data[3] == str(data{3]): + data[3] = str(data{3]) except: data[3] = "" self.progress.step()