Skip to content

Commit 8093106

Browse files
committed
Python: Make enterprise.connect() check for enterprise.initialize()
1 parent a96818f commit 8093106

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

python/enterprise.py

+2
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ def connect():
3939
"""
4040
Connect to the Enterprise Server.
4141
"""
42+
if not is_initialized():
43+
initialize()
4244
if not core.BNConnectEnterpriseServer():
4345
raise RuntimeError(last_error())
4446

0 commit comments

Comments
 (0)