Update announcement.py

This commit is contained in:
HibiKier 2021-07-29 22:48:13 +08:00 committed by GitHub
parent 8668818fcb
commit 517f120af8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -250,8 +250,7 @@ class PrettyAnnouncement:
break
else:
logger.error('赛马娘UP无法找到活动日期....取消更新UP池子...')
return
# raise Exception('赛马娘UP无法找到活动日期....')
return check_write(data, pretty_up_char)
time = time.replace('', '-').replace('/', '').split(' ')
time = time[0] + '' + time[1] + ' - ' + time[3] + '' + time[4]
data['char']['time'] = time