diff --git a/felt/core/fsl_converter.py b/felt/core/fsl_converter.py index 5d902a1..e358efd 100644 --- a/felt/core/fsl_converter.py +++ b/felt/core/fsl_converter.py @@ -1615,7 +1615,8 @@ def singleband_gray_renderer_to_fsl( """ steps = [renderer.contrastEnhancement().minimumValue(), renderer.contrastEnhancement().maximumValue()] - if renderer.gradient() == QgsSingleBandGrayRenderer.Gradient.BlackToWhite: + if (renderer.gradient() == + QgsSingleBandGrayRenderer.Gradient.BlackToWhite): colors = ["rgb(0, 0, 0)", "rgb(255, 255, 255)"] else: colors = ["rgb(255, 255, 255)", "rgb(0, 0, 0)"]