store OpenPypeVersion to sys.modules

This commit is contained in:
iLLiCiTiT 2021-12-03 15:56:11 +01:00
parent 383307d888
commit 88218caf28

View file

@ -6,9 +6,15 @@ import sys
os.chdir(os.path.dirname(__file__)) # for override sys.path in Deadline
from .bootstrap_repos import BootstrapRepos
from .bootstrap_repos import (
BootstrapRepos,
OpenPypeVersion
)
from .version import __version__ as version
if "OpenPypeVersion" not in sys.modules:
sys.modules["OpenPypeVersion"] = OpenPypeVersion
def open_dialog():
"""Show Igniter dialog."""