Skip to content

Commit 29d7d9a

Browse files
committed
fix
1 parent 85978f3 commit 29d7d9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pycsw/ogc/api/records.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ def __init__(self, config: dict):
136136
max_retries = self.config['repository'].get('maxretries', 5)
137137
while not connection_done and max_attempts <= max_retries:
138138
try:
139-
self.repository = rs_cls(self.repository['repository'], self.context)
140-
LOGGER.debug('Custom repository %s loaded (%s)', rs, self.repository.dbtype)
139+
self.repository = rs_cls(self.config['repository'], self.context)
140+
LOGGER.debug('Custom repository %s loaded' % self.config['repository']['source'])
141141
connection_done = True
142142
except Exception as err:
143143
LOGGER.debug(f'Repository not loaded retry connection {max_attempts}: {err}')

0 commit comments

Comments
 (0)