From 691a9ae17da3cdf635300b4b7757637c7054c16d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Cort=C3=A9z?= Date: Tue, 29 Dec 2015 08:31:13 -0600 Subject: [PATCH] Fixed remove_buffer and load_previous_items for friends and users timelines --- src/controller/buffersController.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controller/buffersController.py b/src/controller/buffersController.py index 17af1c7d..149f6459 100644 --- a/src/controller/buffersController.py +++ b/src/controller/buffersController.py @@ -742,7 +742,7 @@ class peopleBufferController(baseBufferController): dlg = commonMessageDialogs.remove_buffer() if dlg == widgetUtils.YES: if self.name[:-8] in self.session.settings["other_buffers"]["friends_timelines"]: - self.session.settings["other_buffers"]["friends_timelines"].remove(self.name[:-9]) + self.session.settings["other_buffers"]["friends_timelines"].remove(self.name[:-8]) return True elif dlg == widgetUtils.NO: return False @@ -783,7 +783,7 @@ class peopleBufferController(baseBufferController): def get_more_items(self): try: - items = self.session.get_more_items(self.function, users=True, name=self.name, count=self.session.settings["general"]["max_tweets_per_call"], cursor=self.session.db[self.name]["cursor"]) + items = self.session.get_more_items(self.function, users=True, name=self.name, count=self.session.settings["general"]["max_tweets_per_call"], cursor=self.session.db[self.name]["cursor"], *self.args, **self.kwargs) except TwythonError as e: output.speak(e.message, True) return