diff --git a/gramps/cli/clidbman.py b/gramps/cli/clidbman.py index 6cf57cf60..d88e86dac 100644 --- a/gramps/cli/clidbman.py +++ b/gramps/cli/clidbman.py @@ -161,7 +161,7 @@ class CLIDbManager(object): except: env.close() return "Unknown", "Unknown" - version = dbmap1.get('version', default=None) + version = dbmap1.get(b'version', default=None) dbmap1.close() dbmap2 = dbshelve.DBShelf(env) fname = os.path.join(file_name, PERSON_TBL + ".db")