Skip to content

Commit

Permalink
fix flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis committed Aug 28, 2022
1 parent af5f01b commit 3540174
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion owslib/tms.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def __init__(self, elem, un=None, pw=None, headers=None, auth=None):
def _get_tilemap(self):
if self._tile_map is None:
self._tile_map = TileMap(self.id, headers=self.headers, auth=self.auth)
assert(self._tile_map.srs == self.srs)
assert self._tile_map.srs == self.srs
return self._tile_map

@property
Expand Down
2 changes: 1 addition & 1 deletion owslib/wps.py
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,7 @@ def buildRequest(self, identifier, inputs=[], output=None, mode=ASYNC, lineage=F
elif isinstance(output, list):
for ouputTuple in output:
# tuple (identifier, as_reference) for backward compatibility
if(len(ouputTuple) == 2):
if len(ouputTuple) == 2:
(identifier, as_reference) = ouputTuple
mime_type = None
else:
Expand Down

0 comments on commit 3540174

Please sign in to comment.