Skip to content

Commit 57fa00b

Browse files
committed
fix ref
1 parent 3ae26af commit 57fa00b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pycsw/server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,7 @@ def _gen_soap_wrapper(self):
745745

746746
def _gen_manager(self):
747747
""" Update self.context.model with CSW-T advertising """
748-
if self.config['manager'].get('transactions', False):
748+
if util.str2bool(self.config['manager'].get('transactions', False)):
749749

750750
self.manager = True
751751

@@ -792,7 +792,7 @@ def _gen_manager(self):
792792
def _test_manager(self):
793793
""" Verify that transactions are allowed """
794794

795-
if not self.config['manager'].get('transactions', False):
795+
if not util.str2bool(self.config['manager'].get('transactions', False)):
796796
raise RuntimeError('CSW-T interface is disabled')
797797

798798
# get the client first forwarded ip

0 commit comments

Comments
 (0)