Fixed a small typo

This commit is contained in:
2022-11-08 15:16:01 -06:00
parent a852a429f4
commit 07dc813cb6

View File

@@ -1038,7 +1038,7 @@ class Controller(object):
sm.show()
for i in sm.new_sessions:
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])
call_threaded(self.start_buffers, sessions.sessions[i])
for i in sm.removed_sessions: