Skip to content

Commit

Permalink
fix missing bracket reported by flake
Browse files Browse the repository at this point in the history
  • Loading branch information
Admire Nyakudya authored and Admire Nyakudya committed Oct 17, 2024
1 parent c0e5807 commit 3030259
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ def getConsoleCommands(self, parameters, context, feedback, executing=True):
self.tr(
'Only one of "Promote to Multipart" or "Output geometry type" (excluding Convert to Linear) can be enabled.'))

elif promotetomulti and not self.GEOMTYPE[self.parameterAsEnum(parameters, self.GTYPE, context):
elif promotetomulti and not self.GEOMTYPE[self.parameterAsEnum(parameters, self.GTYPE, context)]:
arguments.append('-nlt PROMOTE_TO_MULTI')
if precision is False:
arguments.append('-lco PRECISION=NO')
Expand Down

0 comments on commit 3030259

Please sign in to comment.