We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ae26af commit 57fa00bCopy full SHA for 57fa00b
pycsw/server.py
@@ -745,7 +745,7 @@ def _gen_soap_wrapper(self):
745
746
def _gen_manager(self):
747
""" Update self.context.model with CSW-T advertising """
748
- if self.config['manager'].get('transactions', False):
+ if util.str2bool(self.config['manager'].get('transactions', False)):
749
750
self.manager = True
751
@@ -792,7 +792,7 @@ def _gen_manager(self):
792
def _test_manager(self):
793
""" Verify that transactions are allowed """
794
795
- if not self.config['manager'].get('transactions', False):
+ if not util.str2bool(self.config['manager'].get('transactions', False)):
796
raise RuntimeError('CSW-T interface is disabled')
797
798
# get the client first forwarded ip
0 commit comments