diff options
Diffstat (limited to 'app/photos/retriever.py')
-rw-r--r-- | app/photos/retriever.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/photos/retriever.py b/app/photos/retriever.py index 959b908..4dfbc49 100644 --- a/app/photos/retriever.py +++ b/app/photos/retriever.py @@ -134,9 +134,9 @@ def get_photos_in_set(flickr_photoset, photoset): p = Photo.objects.get(flickr_id__exact=str(photo['id'])) except ObjectDoesNotExist: p = get_photo(photo) - print p.title - photoset.photos.add(p) - slideshow_image(p, 1000, 800, 95) + if p.is_public == True: + photoset.photos.add(p) + slideshow_image(p, 1000, 800, 95) ################################################ |