From 503c65692d3c9208315060249e1fad5e1a7febd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Cort=C3=A9z?= Date: Fri, 23 Oct 2015 11:33:56 -0500 Subject: [PATCH] FFix for creating favourites timelines --- src/controller/mainController.py | 2 +- src/sessionmanager/session.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/controller/mainController.py b/src/controller/mainController.py index c5e5dea7..d8384be2 100644 --- a/src/controller/mainController.py +++ b/src/controller/mainController.py @@ -779,7 +779,7 @@ class Controller(object): if usr["favourites_count"] == 0: commonMessageDialogs.no_favs() return - if dlg.get_user() in buffer.session.settings["other_buffers"]["favourites_timelines"]: + if dlg.get_user() in buff.session.settings["other_buffers"]["favourites_timelines"]: commonMessageDialogs.timeline_exist() return tl = buffersController.baseBufferController(self.view.nb, "get_favorites", "%s-favorite" % (dlg.get_user(),), buff.session, buff.session.db["user_name"], bufferType=None, screen_name=dlg.get_user()) diff --git a/src/sessionmanager/session.py b/src/sessionmanager/session.py index 383bb98f..95ee27e0 100644 --- a/src/sessionmanager/session.py +++ b/src/sessionmanager/session.py @@ -322,12 +322,12 @@ class Session(object): for z in i.users: ids += str(z) + ", " if ids != "": - print ids +# print ids stream_threaded(self.timelinesStream.statuses.filter, self.session_id, follow=ids) def add_friends(self): try: - print "setting friends" +# print "setting friends" self.timelinesStream.set_friends(self.main_stream.friends) except AttributeError: pass