diff --git a/gramps/cli/clidbman.py b/gramps/cli/clidbman.py index 271b7a872..7e31cf533 100644 --- a/gramps/cli/clidbman.py +++ b/gramps/cli/clidbman.py @@ -511,7 +511,7 @@ def find_locker_name(dirpath): """ try: fname = os.path.join(dirpath, "lock") - ifile = io.open(fname, 'rb', encoding='utf8') + ifile = io.open(fname, 'r', encoding='utf8') username = ifile.read().strip() # feature request 2356: avoid genitive form last = _("Locked by %s") % username