fix: 修复分时登陆bug

pull/7069/head
feng626 2021-10-25 14:24:43 +08:00 committed by Jiangjie.Bai
parent d3920a0cc9
commit 25d1b71448
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ def contains_time_period(time_periods):
if not today_time_period:
return False
for time in today_time_period['value'].split(''):
for time in today_time_period.split(''):
start, end = time.split('~')
end = "24:00" if end == "00:00" else end
if start <= current_time <= end: