mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
don't require process context to start tray function
This commit is contained in:
parent
943245b698
commit
fa729cdcdd
1 changed files with 2 additions and 2 deletions
|
|
@ -62,7 +62,7 @@ def _handle_error(
|
|||
os.remove(tmp_path)
|
||||
|
||||
|
||||
def _start_tray(process_context):
|
||||
def _start_tray():
|
||||
from ayon_core.tools.tray import make_sure_tray_is_running
|
||||
|
||||
make_sure_tray_is_running()
|
||||
|
|
@ -139,7 +139,7 @@ def ensure_addons_are_process_context_ready(
|
|||
print(output_str)
|
||||
if not failed:
|
||||
if not process_context.headless:
|
||||
_start_tray(process_context)
|
||||
_start_tray()
|
||||
return None
|
||||
|
||||
detail = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue