Added checks for database version and OS version

This commit is contained in:
Rhet Turnbull
2019-07-27 20:57:37 -04:00
parent a79472ba0c
commit 75c25c8bf5
2 changed files with 29 additions and 4 deletions

View File

@@ -3,6 +3,9 @@ import osxphotos
def main():
photosdb = osxphotos.PhotosDB()
print(f"db file = {photosdb.get_photos_library_path()}")
print(f"db version = {photosdb.get_db_version()}")
print(photosdb.keywords())
print(photosdb.persons())
print(photosdb.albums())