Explorar o código

之江检查空间名称

李莎 %!s(int64=2) %!d(string=hai) anos
pai
achega
18f30143ab
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      start.py

+ 2 - 1
start.py

@@ -54,8 +54,9 @@ mysql = {
 database = os.getenv("database")
 dingding = os.getenv("dingding")
 
+
+print("%s 等待开始检查..." % datetime_now())
 while True:
-    print("%s 等待开始检查..."%datetime_now())
 
     time_now = datetime.datetime.fromtimestamp(int(time.time()),
                                                pytz.timezone('Asia/Shanghai')).strftime('%H:%M:%S')