use 'get_current_host_name' to get host name

This commit is contained in:
Jakub Trllo 2025-07-24 15:23:26 +02:00
parent 97cd8a2ec9
commit 2d341f6e55

View file

@ -183,7 +183,7 @@ def install_ayon_plugins(project_name=None, host_name=None):
register_inventory_action_path(INVENTORY_PATH)
if host_name is None:
host_name = os.environ.get("AYON_HOST_NAME")
host_name = get_current_host_name()
addons_manager = _get_addons_manager()
publish_plugin_dirs = addons_manager.collect_publish_plugin_paths(