diff --git a/README.md b/README.md index 477f337f..59b55ada 100644 --- a/README.md +++ b/README.md @@ -143,6 +143,15 @@ photosdb.get_photos_library_path() Returns the path to the Photos library as a string +#### ```get_db_version``` +```python +# assumes photosdb is a PhotosDB object (see above) +photosdb.get_db_version() +``` + +Returns the version number for Photos library database. You likely won't need this but it's provided in case needed for debugging. PhotosDB will print a warning to `sys.stderr` if you open a database version that has not been tested. + + #### ```photos``` ```python # assumes photosdb is a PhotosDB object (see above) diff --git a/setup.py b/setup.py index 3ac4ee65..2e9f3495 100755 --- a/setup.py +++ b/setup.py @@ -38,7 +38,7 @@ with open(path.join(this_directory, "README.md"), encoding="utf-8") as f: setup( name="osxphotos", - version="0.10.1", + version="0.10.2", description="Manipulate (read-only) Apple's Photos app library on Mac OS X", long_description=long_description, long_description_content_type="text/markdown",