Skip to content

Commit

Permalink
merge develop -Dorg -Ssuccess-only: PR 6309 (add try block)
Browse files Browse the repository at this point in the history
  • Loading branch information
snoopycrimecop committed Nov 26, 2024
2 parents 1ae1bfa + f8aa5a2 commit 3ad3b97
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion examples/Training/python/ROIs.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,4 +286,8 @@ def create_mask(mask_bytes, bytes_per_pixel=1):
# Close connection
# ================
# When you are done, close the session to free up server resources.
conn.close()
try:
conn.close()
except Exception as e:
print(e)

0 comments on commit 3ad3b97

Please sign in to comment.