From 54084668db06eaf6b40b9027ff0f4c978ea85e2e Mon Sep 17 00:00:00 2001 From: John Mertic Date: Mon, 2 Dec 2024 23:26:07 -0500 Subject: [PATCH] Fix typo (#82) Signed-off-by: John Mertic --- lfx_landscape_tools/member.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lfx_landscape_tools/member.py b/lfx_landscape_tools/member.py index 16e014c..77eda2c 100644 --- a/lfx_landscape_tools/member.py +++ b/lfx_landscape_tools/member.py @@ -287,7 +287,7 @@ def toLandscapeItemAttributes(self): if self.linkedin: logging.getLogger().info("Setting 'extra.linkedin_url' to '{}' for '{}'".format(self.linkedin,self.orgname)) - if not returnentry['extra']: + if not returnentry.get('extra'): returnentry['extra'] = {} returnentry['extra']['linkedin_url'] = self.linkedin