diff --git a/felt/core/layer_exporter.py b/felt/core/layer_exporter.py index 7b34b86..59b9a9a 100644 --- a/felt/core/layer_exporter.py +++ b/felt/core/layer_exporter.py @@ -532,9 +532,9 @@ def export_raster_layer( """ dest_file = self.generate_file_name('.tif') - fsl_style = self.representative_layer_style(layer) + converted_style = self.representative_layer_style(layer) upload_raster_as_styled = (force_upload_raster_as_styled or - not fsl_style) + not converted_style.fsl) layer_export_result, error_message = self.run_raster_writer( layer, file_name=dest_file, @@ -556,5 +556,5 @@ def export_raster_layer( result=layer_export_result, error_message=error_message, qgis_style_xml=self._get_original_style_xml(layer), - style=fsl_style + style=converted_style )