Add vendor directory to sys.path

This commit is contained in:
thePR0M3TH3AN
2025-07-17 08:48:07 -04:00
parent 9d5593a1f5
commit 5826e18189

View File

@@ -1,7 +1,13 @@
# main.py
import os
from pathlib import Path
import sys
# Add bundled vendor directory to sys.path so bundled dependencies can be imported
vendor_dir = Path(__file__).parent / "vendor"
if vendor_dir.exists():
sys.path.insert(0, str(vendor_dir))
import os
import logging
import signal
import getpass