From e82672b8cb686c9f072afc8210040316c4782053 Mon Sep 17 00:00:00 2001 From: n07070 Date: Tue, 15 Mar 2022 14:49:58 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20des=20logs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/web.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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