Files
webssh/start_backend.py
dido 8ce01cb00a
Build and Push Multi-Arch Docker Image / build (push) Has been cancelled
Initial commit
2026-09-03 11:19:41 +03:00

15 lines
386 B
Python

#!/usr/bin/env python3
"""Compatibility wrapper for launching the backend from the repository root."""
import os
import runpy
import sys
ROOT = os.path.dirname(os.path.abspath(__file__))
SRC_DIR = os.path.join(ROOT, "src")
if SRC_DIR not in sys.path:
sys.path.insert(0, SRC_DIR)
if __name__ == "__main__":
runpy.run_path(os.path.join(SRC_DIR, "run.py"), run_name="__main__")