mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-22 08:01:31 +00:00
Fix terminal writing error on challenge startup
This commit is contained in:
parent
7d50ee607a
commit
71f05fe92c
@ -30,6 +30,8 @@ class TerminadoMiniServer:
|
||||
|
||||
@property
|
||||
def pty(self):
|
||||
if self.term_manager.terminal is None:
|
||||
self.term_manager.get_terminal()
|
||||
return self.term_manager.terminal.ptyproc
|
||||
|
||||
class ResetterTermSocket(TermSocket): # pylint: disable=abstract-method
|
||||
|
Loading…
Reference in New Issue
Block a user