diff --git a/output_twitter.py b/output_twitter.py index 10320a2..8411b78 100644 --- a/output_twitter.py +++ b/output_twitter.py @@ -66,11 +66,12 @@ class OutputTwitter: return # don't send empty twits for entry in feed.accepted: - content = "%s found and queued" % entry['title'] - if len(content) > 120: - return + if len(entry['title']) > 103: + content = "%s... found and queued" % entry['title'][:104] else: - api.PostUpdate(content) + content = "%s found and queued" % entry['title'] + log.debug("Sending Twitter: %s", content) + api.PostUpdate(content) try: import twitter