epson-tm-t20iii #1

Merged
n07070 merged 34 commits from epson-tm-t20iii into master 2022-05-04 11:57:09 +02:00
Showing only changes of commit e82672b8cb - Show all commits

View File

@ -13,15 +13,15 @@ class Web(object):
def print_sms(self, texte, sign: str): def print_sms(self, texte, sign: str):
# TODO: verify the texte before printing it here ? # TODO: verify the texte before printing it here ?
self.app.logger.debug("Printing : " + str(texte)) self.app.logger.debug("Printing : " + str(texte) + " from " + str(sign))
if not os.getenv('LIPY_DEBUG'): if not os.getenv('LIPY_DEBUG'):
time.sleep(10) time.sleep(1)
return self.printer.print_sms(texte, sign) return self.printer.print_sms(texte, sign)
def print_image(self, image): def print_image(self, image):
pass pass
def login(username: str,password: str) -> bool: def login(username: str,password: str) -> bool:
pass pass