Fix retrieval of version metadata for python3 Gramps.py -L

svn: r21464
This commit is contained in:
Tim G L Lyons 2013-02-26 17:35:24 +00:00
parent 41ba5c838e
commit d3077942e1

View File

@ -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")