Overview
KeyError: <AssetVersionSize.ORIGINAL: 'original'> if download with --size adjusted --size alternative (not use --force-size)
threr was only one photo in my icloud with not edited, when i download with --size adjusted --size alternative (not use --force-size),
after got one photo ,then i got the info: KeyError: <AssetVersionSize.ORIGINAL: 'original'>
then i edit the photo ,run icloudpd again .after got one edited photo ,i got the same error message.
Steps to Reproduce
- there is only one photo in cloud (not edited)
- icloudpd --directory .\photos --domain cn --username xx --password xx --folder-structure none --size adjusted --size alternative --file-match-policy name-id7
- edit the photo
- icloudpd --directory .\photos --domain cn --username xx --password xx --folder-structure none --size adjusted --size alternative --file-match-policy name-id7
Expected Behavior
no error info
Actual Behavior
exit with error
Context
after debug,I found the return of disambiguate_filenames only include adjusted ,when download_size=alternative,download_size will be changed to original , but no original in the return of disambiguate_filenames

Overview
KeyError: <AssetVersionSize.ORIGINAL: 'original'> if download with --size adjusted --size alternative (not use --force-size)
threr was only one photo in my icloud with not edited, when i download with --size adjusted --size alternative (not use --force-size),
after got one photo ,then i got the info: KeyError: <AssetVersionSize.ORIGINAL: 'original'>
then i edit the photo ,run icloudpd again .after got one edited photo ,i got the same error message.
Steps to Reproduce
Expected Behavior
no error info
Actual Behavior
exit with error
Context

after debug,I found the return of disambiguate_filenames only include adjusted ,when download_size=alternative,download_size will be changed to original , but no original in the return of disambiguate_filenames