8398: lock.file with accent letter cause gramps to crash at start
This commit is contained in:
parent
e355a93dc1
commit
dd68fbf75d
@ -508,6 +508,6 @@ def find_locker_name(dirpath):
|
||||
# feature request 2356: avoid genitive form
|
||||
last = _("Locked by %s") % username
|
||||
ifile.close()
|
||||
except (OSError, IOError):
|
||||
except (OSError, IOError, UnicodeDecodeError):
|
||||
last = _("Unknown")
|
||||
return last
|
||||
|
Loading…
Reference in New Issue
Block a user