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()