Skip to content

Commit a5250bc

Browse files
committed
fix: ensure certificate loading from resources
1 parent 34441a6 commit a5250bc

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/smartinspect/protocols/cloud/cloud_protocol.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ def _internal_initialize_socket(self):
463463
# if location is marked as 'resource', then we search for the cert
464464
# in 'resources' package
465465
if location == "resource":
466-
pkg_path = importlib.util.find_spec("resources").origin
466+
pkg_path = importlib.util.find_spec("smartinspect.resources").origin
467467
# if there is a 'resources' package, we resolve its absolute path
468468
# and add filepath to it
469469
if pkg_path is not None:

src/smartinspect/resources/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)