Mise à jour des logs

This commit is contained in:
n07070 2022-03-15 14:49:58 +01:00
parent 4fea7c1e86
commit e82672b8cb

View File

@ -13,9 +13,9 @@ 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)