Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit 66a3ec4

Browse files
committed
[client] Empty string as default in get config
1 parent 0b1dd7b commit 66a3ec4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pycti/connector/opencti_connector_helper.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ def get_config_variable(
6666
if isNumber:
6767
return int(result)
6868

69+
if isinstance(result, str) and len(result) == 0:
70+
return default
71+
6972
return result
7073

7174

0 commit comments

Comments
 (0)