diff options
author | luxagraf <sng@luxagraf.net> | 2016-06-03 21:42:18 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2016-06-03 21:42:18 -0400 |
commit | af0fce7e27e295479fb2ef0f839cae0a6c40059e (patch) | |
tree | 703d85f3becacba0fc27aa96e8cb81003b8ae16e /app | |
parent | 52740f9f704b6711b8763990580db8e53efed90a (diff) |
fixed bug with flickr
Diffstat (limited to 'app')
-rw-r--r-- | app/syndication/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/syndication/models.py b/app/syndication/models.py index d1ba135..a7a9343 100644 --- a/app/syndication/models.py +++ b/app/syndication/models.py @@ -52,7 +52,7 @@ def post_save_events(sender, update_fields, created, instance, **kwargs): print("calling function") post_photo_to_twitter(instance.content_object) if item.name == "Flickr": - if instance.content_type.name == "LuxPhoto": + if instance.content_type.name == "lux image": post_photo_to_flickr(instance.content_object) post_save.disconnect(post_save_events, sender=SyndicatedItem) instance.status = "2" |