do cleanups
This commit is contained in:
parent
556519187b
commit
adc5384249
@ -44,10 +44,18 @@ class driver():
|
||||
|
||||
def connectDevice(self):
|
||||
self._brl = brlapi.Connection()
|
||||
|
||||
def enterTTY(self):
|
||||
if not self._isInitialized:
|
||||
return
|
||||
self._brl.enterTtyModeWithPath()
|
||||
|
||||
def shutdown(self):
|
||||
def leveTTY(self):
|
||||
if not self._isInitialized:
|
||||
return
|
||||
self._brl.leaveTtyMode()
|
||||
|
||||
def shutdown(self):
|
||||
if not self._isInitialized:
|
||||
return
|
||||
self.leveTTY()
|
||||
|
Loading…
Reference in New Issue
Block a user