- removing deadcode (#1057)

This commit is contained in:
Jo
2022-12-04 12:46:01 +01:00
committed by GitHub
parent c3b0e7868e
commit c2fe864a34
-4
View File
@@ -123,10 +123,6 @@ class MVTProvider(BaseTileProvider):
layer = url.path.split('/{z}/{x}/{y}')[0]
layer = layer.split('/{z}/{y}/{x}')[0]
# Removing the extension, if it is there
if '.' in layer:
layer = layer.split('.')[0]
LOGGER.debug(layer)
LOGGER.debug('Removing leading "/"')
return layer[1:]