fix: correct Python path in Celery worker scripts

This commit is contained in:
2025-10-06 10:46:10 -03:00
parent 6f8ffe1e49
commit 7620b0ce76
2 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ import sys
from celery import Celery from celery import Celery
# Add the app directory to Python path # Add the app directory to Python path
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) sys.path.insert(0, '/app')
from app.celery_app import celery_app from app.celery_app import celery_app

View File

@@ -7,7 +7,7 @@ import sys
from celery import Celery from celery import Celery
# Add the app directory to Python path # Add the app directory to Python path
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) sys.path.insert(0, '/app')
from app.celery_app import celery_app from app.celery_app import celery_app