From 3db13062edcc11f149e1e7f0841f14a8ced3cde6 Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Sun, 17 Jun 2018 19:26:47 -0500 Subject: [PATCH] Fixed a few typos --- src/sessionmanager/session.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sessionmanager/session.py b/src/sessionmanager/session.py index d99a8095..111ac37e 100644 --- a/src/sessionmanager/session.py +++ b/src/sessionmanager/session.py @@ -397,9 +397,9 @@ class Session(object): self.login(False) if self.reconnection_function_active == True: return self.reconnection_function_active = True - if not hasattr(self, "main_stream") or not application.streaming_lives(): + if not hasattr(self, "main_stream") and application.streaming_lives(): self.get_main_stream() - if not hasattr(self, "timelinesStream") or application.streaming_lives(): + if not hasattr(self, "timelinesStream") and application.streaming_lives(): self.get_timelines() self.counter = 0 self.reconnection_function_active = False