diff options
| author | Glenn Smith <glenn@vector35.com> | 2023-04-10 19:20:01 -0400 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2023-04-19 17:27:58 -0400 |
| commit | 2933836357591583002564916825596082211523 (patch) | |
| tree | 9e483f24f39ec6718b606d28f6ecb0d0ff1658d9 /python | |
| parent | 5e91cb790081dd4335b97892e3c284cb75fb8c32 (diff) | |
[Enterprise] Include collaboration python api properly
Diffstat (limited to 'python')
| -rw-r--r-- | python/__init__.py | 11 |
1 files changed, 9 insertions, 2 deletions
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 |
