diff --git a/osxphotos/utils.py b/osxphotos/utils.py index dbab5900..fc042e9a 100644 --- a/osxphotos/utils.py +++ b/osxphotos/utils.py @@ -169,7 +169,7 @@ def get_system_library_path(): logging.warning(f"could not find plist file: {str(plist_file)}") return None - photospath = pl["SystemLibraryPath"] + photospath = pl.get("SystemLibraryPath") if photospath is not None: return photospath