From 07dfe9798422bb6068663b73894ac4128ee22b65 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 29 Jul 2019 20:19:05 +0800 Subject: [PATCH] 1 --- tools/kefu_robot.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/kefu_robot.py b/tools/kefu_robot.py index 64f0d95..1c9c788 100644 --- a/tools/kefu_robot.py +++ b/tools/kefu_robot.py @@ -24,7 +24,9 @@ def md5Sign(params, secret, timestamp, connstr = '&', secret_connstr = ':'): def getDaySeconds(time_val, incdays): time_zone = 8 - return int((time_val + time_zone * 3600)/3600/24 + incdays) * 3600 * 24 - 3600 * time_zone; + dayseconds = int((time_val + time_zone * 3600)/3600/24 + incdays) * 3600 * 24 - 3600 * time_zone; + print(dayseconds) + return dayseconds def sendNotify(conf, sendtime): try: