Update dummyDriver.py

This commit is contained in:
chrys87 2017-01-30 16:16:49 +01:00 committed by GitHub
parent e0c5d14e13
commit 6cde98f50e

View File

@ -13,11 +13,13 @@ class driver():
def initialize(self, environment):
self.env = environment
self._isInitialized = True
pirnt('BrailleDummyDriver: Initialize')
def getDeviceSize(self):
if not self._isInitialized:
return (0,0)
pirnt('BrailleDummyDriver: getDeviceSize 20')
pirnt('BrailleDummyDriver: getDeviceSize 20')
return (20,0)
def writeText(self,text):