diff options
Diffstat (limited to 'wizards/com/sun/star/wizards/web/WebConfigSet.py')
-rw-r--r-- | wizards/com/sun/star/wizards/web/WebConfigSet.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/wizards/com/sun/star/wizards/web/WebConfigSet.py b/wizards/com/sun/star/wizards/web/WebConfigSet.py index 1c73761f851b..92640dde05c1 100644 --- a/wizards/com/sun/star/wizards/web/WebConfigSet.py +++ b/wizards/com/sun/star/wizards/web/WebConfigSet.py @@ -147,7 +147,10 @@ class WebConfigSet(ConfigGroup): return self.childrenList[i] def getElement(self, o): - return self.childrenMap[o] + try: + return self.childrenMap[o] + except KeyError: + return None def getSize(self): return len(self.childrenList) |