Fixed #451, path_derivatives for Photos version <= 4

This commit is contained in:
Rhet Turnbull
2021-05-23 09:34:40 -07:00
parent 96037508c1
commit 7cde52bf9b
3 changed files with 20 additions and 2 deletions

View File

@@ -1,3 +1,3 @@
""" version info """
__version__ = "0.42.22"
__version__ = "0.42.23"

View File

@@ -838,7 +838,7 @@ class PhotoInfo:
def _path_derivatives_4(self):
""" Return paths to all derivative (preview) files for Photos <= 4"""
modelid = self._info["masterModelID"]
modelid = self._info["modelID"]
if modelid is None:
return []
folder_id, file_id = _get_resource_loc(modelid)