Skip to content

Commit 667f9c6

Browse files
authored
fix undefined name response (#104)
1 parent f189546 commit 667f9c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/config_generator/capabilities_reader.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def read_wms_service_capabilities(self, service_name, item, themes_config):
138138
if root_layer is None:
139139
self.logger.warning(
140140
"No root layer found for %s: %s" %
141-
(full_url, response.content)
141+
(full_url, document)
142142
)
143143
return {}
144144

@@ -490,7 +490,7 @@ def read_wfs_service_capabilities(self, service_name, item):
490490
if feature_type_list is None:
491491
self.logger.warning(
492492
"No FeatureTypeList found for %s: %s" %
493-
(full_url, response.content)
493+
(full_url, document)
494494
)
495495
return {}
496496

0 commit comments

Comments
 (0)