summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/syndication/models.py2
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"