fixed bug related to db_path properties re-factoring
This commit is contained in:
@@ -87,7 +87,7 @@ def info(cli_obj):
|
|||||||
""" Print out descriptive info of the Photos library database. """
|
""" Print out descriptive info of the Photos library database. """
|
||||||
pdb = osxphotos.PhotosDB(dbfile=cli_obj.db)
|
pdb = osxphotos.PhotosDB(dbfile=cli_obj.db)
|
||||||
info = {}
|
info = {}
|
||||||
info["database_path"] = pdb.get_db_path()
|
info["database_path"] = pdb.db_path
|
||||||
info["database_version"] = pdb.db_version
|
info["database_version"] = pdb.db_version
|
||||||
|
|
||||||
photos = pdb.photos()
|
photos = pdb.photos()
|
||||||
|
|||||||
Reference in New Issue
Block a user