diff --git a/src/khoj/main.py b/src/khoj/main.py index 9fa65fc3..022efcc1 100644 --- a/src/khoj/main.py +++ b/src/khoj/main.py @@ -25,6 +25,7 @@ from django.core.asgi import get_asgi_application from django.core.management import call_command # Initialize Django +sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) os.environ.setdefault("DJANGO_SETTINGS_MODULE", "app.settings") django.setup()