Skip to content

Commit 6c4f67c

Browse files
author
wang.qiyuan
committed
refactor: 简化时区crontab模块导入,移除未使用的crontab_parser依赖
1 parent 00ffb23 commit 6c4f67c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/app/task/utils/tzcrontab.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from datetime import datetime
44

55
from celery import schedules
6-
from celery.schedules import ParseException, crontab_parser, crontab
6+
from celery.schedules import ParseException, crontab
77

88
from backend.common.exception import errors
99
from backend.utils.timezone import timezone

0 commit comments

Comments
 (0)