It seems that after all the photos from an album are deleted, the album gets deleted automatically. The check at the end of delete_album occassionally throws exception about non existing album even on under the if statement:
# After the photos are deleted, the album might not be present anymore.
album_id = get_album_id(flickr, args.name)
if album_id is not None:
delete_album(flickr, album_id)
So this is probably racing with the deletion on the Flickr side.
It seems that after all the photos from an album are deleted, the album gets deleted automatically. The check at the end of
delete_album
occassionally throws exception about non existing album even on under the if statement:So this is probably racing with the deletion on the Flickr side.