Skip to content

Commit c06afb6

Browse files
committed
Fix dict object has no attribute value for plugin config
1 parent 5123752 commit c06afb6

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

receptor/config.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,4 +443,8 @@ def get_server_ssl_context(self):
443443
return None
444444

445445
def __getattr__(self, key):
446-
return self._config_options[key].value
446+
value = self._config_options[key]
447+
if type(value) is dict:
448+
return value
449+
else:
450+
return self._config_options[key].value

0 commit comments

Comments
 (0)