From 1d805510a7843530e1a24af384634cb6b7f30b45 Mon Sep 17 00:00:00 2001 From: Sam Manzi Date: Tue, 19 Apr 2016 09:15:56 +1000 Subject: [PATCH] Add back line as per QuLogic --- gramps/gen/dbstate.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gramps/gen/dbstate.py b/gramps/gen/dbstate.py index e4564a63f..078f4e40f 100644 --- a/gramps/gen/dbstate.py +++ b/gramps/gen/dbstate.py @@ -219,6 +219,7 @@ class DbState(Callback): fname = os.path.join(dirpath, "lock") with open(fname, 'r', encoding='utf8') as ifile: locked_by = ifile.read().strip() + locked = True except (OSError, IOError): pass return (dirpath, locked, locked_by, backend)