Ignore PhotoPathSize for now

This commit is contained in:
Dan 2020-12-08 22:25:42 +01:00
parent 5cbe03e89e
commit a30e49fe79

View File

@ -84,7 +84,7 @@ class Photo(Object):
if isinstance(photo, raw.types.Photo):
big = photo.sizes[-1]
if isinstance(big, raw.types.PhotoStrippedSize):
if isinstance(big, (raw.types.PhotoStrippedSize, raw.types.PhotoPathSize)):
return None
if isinstance(big, raw.types.PhotoSizeProgressive):