Fixed a bug with the restart_stream function

This commit is contained in:
Manuel Cortez 2015-12-28 09:05:09 -06:00
parent e85f54e15c
commit 214b9a8809
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ if snapshot == False:
version = "0.80"
update_url = 'http://twblue.es/updates/twblue_ngen.json'
else:
version = "10.97"
version = "10.98"
update_url = 'http://twblue.es/updates/snapshots_ngen.json'
author = u"Manuel Cortéz"
authorEmail = "manuel@manuelcortez.net"

View File

@ -118,7 +118,7 @@ class Controller(object):
pub.subscribe(self.manage_unblocked_user, "unblocked-user")
pub.subscribe(self.manage_item_in_timeline, "item-in-timeline")
pub.subscribe(self.manage_item_in_list, "item-in-list")
pub.subscribe(self.restart_streams, "restart_streams")
pub.subscribe(self.restart_streams_, "restart_streams")
widgetUtils.connect_event(self.view, widgetUtils.CLOSE_EVENT, self.exit_)
def bind_other_events(self):
@ -1461,7 +1461,7 @@ class Controller(object):
if hasattr(self, action):
getattr(self, action)()
def restart_streams(self, session):
def restart_streams_(self, session):
for i in self.buffers:
if i.session != None and i.session.session_id == session:
i.start_stream()