From 2933836357591583002564916825596082211523 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Mon, 10 Apr 2023 19:20:01 -0400 Subject: [Enterprise] Include collaboration python api properly --- python/__init__.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'python') diff --git a/python/__init__.py b/python/__init__.py index 9e4e80c2..40415e87 100644 --- a/python/__init__.py +++ b/python/__init__.py @@ -402,5 +402,12 @@ def connect_vscode_debugger(port=5678): class UIPluginInHeadlessError(Exception): - def __init__(self, *args, **kwargs): - Exception.__init__(self, *args, **kwargs) + def __init__(self, *args, **kwargs): + Exception.__init__(self, *args, **kwargs) + + +# Load Collaboration scripts from Enterprise (they are bundled in shipping builds) +try: + from . import collaboration +except ImportError: + pass -- cgit v1.3.1