summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2016-06-03 21:42:18 -0400
committerluxagraf <sng@luxagraf.net>2016-06-03 21:42:18 -0400
commitaf0fce7e27e295479fb2ef0f839cae0a6c40059e (patch)
tree703d85f3becacba0fc27aa96e8cb81003b8ae16e /app
parent52740f9f704b6711b8763990580db8e53efed90a (diff)
fixed bug with flickr
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"