Skip to content
Permalink
Browse files

WMTS parsing bugfix backport

  • Loading branch information
tomkralidis committed Mar 10, 2017
1 parent 577d9e0 commit 7786cabd4424eb9d3788465593d0412f8e96a19e
Showing with 2 additions and 1 deletion.
  1. +2 −1 python/ext-libs/owslib/wmts.py
@@ -130,7 +130,8 @@ def _buildMetadata(self, parse_remote_metadata=False):

#serviceProvider metadata
serviceprov=self._capabilities.find('{http://www.opengis.net/ows/1.1}ServiceProvider')
self.provider=ServiceProvider(serviceprov)
if serviceprov is not None:
self.provider = ServiceProvider(serviceprov)

#serviceOperations metadata
self.operations=[]

1 comment on commit 7786cab

@tomkralidis

This comment has been minimized.

Copy link
Contributor Author

@tomkralidis tomkralidis commented on 7786cab Mar 10, 2017

FYI Travis failed but error is unrelated to this patch.

Please sign in to comment.
You can’t perform that action at this time.