From 77b5bd0655a9ff013ed169eb1118d995d2bb28ce Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 30 Jul 2019 21:09:58 +0800 Subject: [PATCH] 1 --- tools/kefu_robot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/kefu_robot.py b/tools/kefu_robot.py index a08a550..f8db9d3 100644 --- a/tools/kefu_robot.py +++ b/tools/kefu_robot.py @@ -3,6 +3,7 @@ import os import json import time +import datetime import hashlib import urllib.request import tornado.ioloop @@ -30,6 +31,7 @@ def getDaySeconds(time_val, incdays): def sendNotify(conf, sendtime): try: + print(datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%s"), flush=True) print('sendNotify start', flush=True) params = {'key' : 'kingsome'} secret = 'fc38349c5d084e920925e614c420be9f'