move to main

This commit is contained in:
Marc Beninca 2024-08-08 01:58:03 +02:00
parent a14e9b941b
commit ee3c61dad3
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -6,9 +6,9 @@ import sys
import env
if env.SPCD_PYTHON_VENV_PACKAGES not in sys.path:
sys.path.insert(0, env.SPCD_PYTHON_VENV_PACKAGES)
import spcd
if __name__ == "__main__":
if env.SPCD_PYTHON_VENV_PACKAGES not in sys.path:
sys.path.insert(0, env.SPCD_PYTHON_VENV_PACKAGES)
import spcd
spcd.main(__file__)