mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix staging info
This commit is contained in:
parent
c2b6f199c6
commit
3b71660224
1 changed files with 3 additions and 3 deletions
6
start.py
6
start.py
|
|
@ -812,7 +812,7 @@ def boot():
|
|||
from openpype.version import __version__
|
||||
|
||||
assert version_path, "Version path not defined."
|
||||
info = get_info()
|
||||
info = get_info(use_staging)
|
||||
info.insert(0, f">>> Using OpenPype from [ {version_path} ]")
|
||||
|
||||
t_width = 20
|
||||
|
|
@ -839,7 +839,7 @@ def boot():
|
|||
sys.exit(1)
|
||||
|
||||
|
||||
def get_info() -> list:
|
||||
def get_info(use_staging=None) -> list:
|
||||
"""Print additional information to console."""
|
||||
from openpype.lib.mongo import get_default_components
|
||||
from openpype.lib.log import PypeLogger
|
||||
|
|
@ -847,7 +847,7 @@ def get_info() -> list:
|
|||
components = get_default_components()
|
||||
|
||||
inf = []
|
||||
if not getattr(sys, 'frozen', False):
|
||||
if use_staging:
|
||||
inf.append(("OpenPype variant", "staging"))
|
||||
else:
|
||||
inf.append(("OpenPype variant", "production"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue