Fix retrieval of version metadata for python3 Gramps.py -L
svn: r21464
This commit is contained in:
parent
41ba5c838e
commit
d3077942e1
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user