From b10f1fff0e467232f62ce873577c9c4358c99676 Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Mon, 22 Jun 2009 22:38:30 +1200 Subject: [PATCH] Twitter has changed from Atom to RSS. --- services/command/twitter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/command/twitter.py b/services/command/twitter.py index e3fdd1c..305080d 100644 --- a/services/command/twitter.py +++ b/services/command/twitter.py @@ -39,7 +39,7 @@ class Twitter: def getPreferredFeed(self, feeds): for i in range(0, len(feeds)): - if feeds[i][1] == u'application/atom+xml' and re.match('http://twitter.com/statuses/user_timeline/', feeds[i][0]): + if feeds[i][1] == u'application/rss+xml' and re.match('http://twitter.com/statuses/user_timeline/', feeds[i][0]): print(" Found preferred feed at %s" % feeds[i][0]) return feeds[i] -- 2.30.2