summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--WebappConfig/dotconfig.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/WebappConfig/dotconfig.py b/WebappConfig/dotconfig.py
index 610d1e3..ad3d894 100644
--- a/WebappConfig/dotconfig.py
+++ b/WebappConfig/dotconfig.py
@@ -119,6 +119,10 @@ class DotConfig:
def __getitem__(self, key):
if key in self.__data.keys():
return self.__data[key]
+ # this key didn't exist in old versions, but new versions
+ # expect it. fix bug 355295
+ elif key == 'WEB_CATEGORY':
+ return ''
def __dot_config(self):
''' Returns the full path to the dot config file.'''