diff --git a/src/web.py b/src/web.py index e4a4e0c..a5d05c1 100644 --- a/src/web.py +++ b/src/web.py @@ -13,15 +13,15 @@ class Web(object): def print_sms(self, texte, sign: str): # 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'): - time.sleep(10) + time.sleep(1) return self.printer.print_sms(texte, sign) def print_image(self, image): pass - + def login(username: str,password: str) -> bool: pass