Skip to content

Commit

Permalink
fix: Resolve inconsistent path issue when running via crontab (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonwu1994 authored Dec 11, 2023
1 parent 354b99c commit 5044bcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

from .logger import log

ROOT_PATH = Path(__name__).parent.absolute()
ROOT_PATH = Path(__file__).parent.parent.absolute()

DATA_PATH = ROOT_PATH / "data"
"""数据保存目录"""
Expand Down

0 comments on commit 5044bcc

Please sign in to comment.