Skip to content

Commit 703db39

Browse files
committed
- simplified condition
1 parent 45f3997 commit 703db39

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pygeoapi/provider/mapscript_.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ def __init__(self, provider_def):
7575

7676
file_extension = self.data.split('.')[-1]
7777

78-
if 'tileindex' in self.options and str2bool(self.options.get('tileindex', False)): # noqa
78+
if str2bool(self.options.get('tileindex', False)):
79+
LOGGER.debug('Setting tileindex')
7980
self._layer.tileindex = self.data
8081
else:
8182
if file_extension in ['shp', 'tif']:

0 commit comments

Comments
 (0)