fix/main
This commit is contained in:
parent
6347c0c5c3
commit
b7e5adfa73
1 changed files with 2 additions and 1 deletions
|
@ -4,6 +4,7 @@
|
|||
|
||||
import importlib
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
if __name__ == "__main__":
|
||||
env = importlib.import_module("env")
|
||||
|
@ -11,4 +12,4 @@ if __name__ == "__main__":
|
|||
sys.path.insert(0, env.SPCD_PYTHON_VENV_PACKAGES)
|
||||
from spcd import main
|
||||
|
||||
main(__file__)
|
||||
main(Path(__file__))
|
||||
|
|
Loading…
Reference in a new issue