Set mandatory=True when updating buffers automatically to bypass 180 secs restriction

This commit is contained in:
Manuel Cortez 2018-08-15 04:30:27 -05:00
parent 0835a34c71
commit ac5daec462

View File

@ -1616,7 +1616,7 @@ class Controller(object):
for i in self.buffers[:]: for i in self.buffers[:]:
if i.session != None and i.session.is_logged == True: if i.session != None and i.session.is_logged == True:
try: try:
i.start_stream() i.start_stream(mandatory=True)
except TwythonAuthError: except TwythonAuthError:
buff = self.view.search(i.name, i.account) buff = self.view.search(i.name, i.account)
i.remove_buffer(force=True) i.remove_buffer(force=True)