Closed Huite closed 1 year ago
This line is the problem:
if layer.type() == QgsMapLayerType.VectorLayer:
layer is None, if no time series layer is present. This line should be gated by a check:
layer
if (layer is not None) and (layer.type() == QgsMapLayerType.VectorLayer):
This line is the problem:
layer
is None, if no time series layer is present. This line should be gated by a check: