Fixed a small typo

This commit is contained in:
Manuel Cortez 2022-11-08 15:16:01 -06:00
parent a852a429f4
commit 07dc813cb6
No known key found for this signature in database
GPG Key ID: 9E0735CA15EFE790

View File

@ -1038,7 +1038,7 @@ class Controller(object):
sm.show() sm.show()
for i in sm.new_sessions: for i in sm.new_sessions:
handler = self.get_handler(type=sessions.sessions[i].type) handler = self.get_handler(type=sessions.sessions[i].type)
if handler != None and hasattr(handler, "create-buffers"): if handler != None and hasattr(handler, "create_buffers"):
handler.create_buffers(controller=self, session=sessions.sessions[i]) handler.create_buffers(controller=self, session=sessions.sessions[i])
call_threaded(self.start_buffers, sessions.sessions[i]) call_threaded(self.start_buffers, sessions.sessions[i])
for i in sm.removed_sessions: for i in sm.removed_sessions: