There are two bugs in photos.pick_image()
, and I can't seem to find a workaround. With no arguments, it raises an IndexError
when picking a single image. With multi=True
it returns an empty list. This is with Editorial 1.3.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/var/containers/Bundle/Application/85C0192E-EE40-403C-9D82-53F2B569DD40/Editorial.app/Frameworks/Py2Kit.framework/pylib/site-packages/photos.py", line 46, in pick_image
return return_list[0]
IndexError: list index out of range
>>> photos.pick_image(multi=True)
[]