From 228034f7a4853ed1948d3cadae4d80edaa43778b Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Tue, 30 Apr 2024 14:05:26 +1000 Subject: [PATCH] Lint --- felt/core/fsl_converter.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/felt/core/fsl_converter.py b/felt/core/fsl_converter.py index 2ff21a1..ce428fd 100644 --- a/felt/core/fsl_converter.py +++ b/felt/core/fsl_converter.py @@ -389,8 +389,8 @@ def arrow_to_fsl( size = 0.5 * (FslConverter.convert_to_pixels( layer.arrowWidth(), layer.arrowWidthUnit(), - context) - + FslConverter.convert_to_pixels( + context) + + FslConverter.convert_to_pixels( layer.arrowStartWidth(), layer.arrowStartWidthUnit(), context)) @@ -685,8 +685,8 @@ def shapeburst_fill_to_fsl( """ Converts a QGIS shapeburst fill symbol layer to FSL """ - color = (layer.color() if (layer.color().isValid() - and layer.color().alphaF() > 0) + color = (layer.color() if (layer.color().isValid() and + layer.color().alphaF() > 0) else layer.color2()) if not color.isValid() or color.alphaF() == 0: return []