19 lines
395 B
Python
Executable File
19 lines
395 B
Python
Executable File
#!/usr/bin/env python3
|
|
"""Compatibility entry point for the authoring service."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from pathlib import Path
|
|
import sys
|
|
|
|
SRC = Path(__file__).resolve().parent / "src"
|
|
if str(SRC) not in sys.path:
|
|
sys.path.insert(0, str(SRC))
|
|
|
|
from authoring_service import * # noqa: F401,F403
|
|
from authoring_service.web import main
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|