do not fail on testing for a missing site option
This commit is contained in:
parent
cfb321fac7
commit
c36e3b45f2
|
@ -322,6 +322,8 @@ class QommonPublisher(Publisher):
|
|||
return (self.site_options.get('options', option) == 'true')
|
||||
except ConfigParser.NoSectionError:
|
||||
return False
|
||||
except ConfigParser.NoOptionError:
|
||||
return False
|
||||
|
||||
def set_config(self, request = None):
|
||||
self.reload_cfg()
|
||||
|
|
Loading…
Reference in New Issue