Qilan2 commited on
Commit
ec21ea3
·
verified ·
1 Parent(s): 69be6ff

Update server10.py

Browse files
Files changed (1) hide show
  1. server10.py +1 -1
server10.py CHANGED
@@ -459,7 +459,7 @@ if os.path.exists(f'/data/{huggingface_Data_name}.zip'):
459
  # 检查是否是中国时区早上6点
460
  china_tz = pytz.timezone('Asia/Shanghai')
461
  now = datetime.now(china_tz)
462
- if now.hour == 21 and now.minute < 53: # 6:00-6:05之间退出
463
  print(f"当前时间: {now.strftime('%Y-%m-%d %H:%M:%S')}, 到达早上6点,退出循环")
464
  break
465
  else:
 
459
  # 检查是否是中国时区早上6点
460
  china_tz = pytz.timezone('Asia/Shanghai')
461
  now = datetime.now(china_tz)
462
+ if now.hour == 21 and now.minute < 55: # 6:00-6:05之间退出
463
  print(f"当前时间: {now.strftime('%Y-%m-%d %H:%M:%S')}, 到达早上6点,退出循环")
464
  break
465
  else: