From aa56c82348fd177d3eec12b2872b8234bf56b0e7 Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Tue, 14 May 2024 09:54:02 +1000 Subject: [PATCH] Lint --- felt/core/fsl_converter.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)"]