From b6bd5ca74b0934050cfec01860580dbaa72377c3 Mon Sep 17 00:00:00 2001 From: "shariar@raenabeauty.com" Date: Wed, 27 Mar 2024 11:02:55 +0400 Subject: [PATCH] added Hasaki crawler --- hasaki_crawler_engine/hasaki_crawler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hasaki_crawler_engine/hasaki_crawler.py b/hasaki_crawler_engine/hasaki_crawler.py index d0d8d71..c8dd4a2 100644 --- a/hasaki_crawler_engine/hasaki_crawler.py +++ b/hasaki_crawler_engine/hasaki_crawler.py @@ -144,10 +144,10 @@ if __name__ == "__main__": cur.close() conn.close() - #send_mail("Hasaki crawler run complete.") + send_mail("Hasaki crawler run complete.") except Exception as e: logging.info("Error: ".format(e)) logging.info("Error occurred. Please check config file or the internal SQLLITE DB. Exiting......") - #send_mail("Error occurred. Please check config file or the internal SQLLITE DB.") + send_mail("Error occurred. Please check config file or the internal SQLLITE DB.") exit(1)