From b0bbe5719f11a0c1b55c3fb7013f4d53340f082d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Cort=C3=A9z?= Date: Mon, 8 Jun 2015 10:04:16 -0500 Subject: [PATCH] Fixed a bug when the user unfollows someone --- src/twitter/buffers/stream.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/twitter/buffers/stream.py b/src/twitter/buffers/stream.py index e7012fa4..dffd7525 100644 --- a/src/twitter/buffers/stream.py +++ b/src/twitter/buffers/stream.py @@ -100,7 +100,7 @@ class streamer(TwythonStreamer): if "friends" in self.session.settings["general"]["buffer_order"]: item = utils.find_item(data["target"]["id"], self.session.db["friends"]["items"]) if item > 0: - self.friends["items"].pop(item) + self.friends.pop(item) pub.sendMessage("unfollowing", item=item, user=self.get_user()) def on_success(self, data):