Update buffers by pressing ctrl+win+shift+u; workaround for dm issues

This commit is contained in:
2015-12-26 09:02:08 -06:00
parent 0882e4707d
commit 0afba81c71
10 changed files with 54 additions and 18 deletions

View File

@@ -194,6 +194,7 @@ class Session(object):
if report_success:
output.speak(_("%s succeeded.") % action)
if _sound != None: self.sound.play(_sound)
return val
def search(self, name, *args, **kwargs):
tl = self.twitter.twitter.search(*args, **kwargs)
@@ -352,7 +353,7 @@ class Session(object):
self.logged = False
self.twitter = twitter.twitter.twitter()
self.login(False)
# pub.sendMessage("streamError", session=self.session_id)
pub.sendMessage("restart_streams", session=self.session_id)
if self.reconnection_function_active == True: return
self.reconnection_function_active = True
if not hasattr(self, "main_stream"):