fixed bug related to db_path properties re-factoring

This commit is contained in:
Rhet Turnbull
2019-12-21 22:53:22 -08:00
parent 2906773ba1
commit 8ee8a38f0f

View File

@@ -87,7 +87,7 @@ def info(cli_obj):
""" Print out descriptive info of the Photos library database. """
pdb = osxphotos.PhotosDB(dbfile=cli_obj.db)
info = {}
info["database_path"] = pdb.get_db_path()
info["database_path"] = pdb.db_path
info["database_version"] = pdb.db_version
photos = pdb.photos()