Skip to content

Commit c54cd92

Browse files
committed
[processing] fixed handling of file outputs in scripts
Fixes #11990
1 parent 73f184e commit c54cd92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/plugins/processing/script/ScriptAlgorithm.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ def processParameterLine(self, line):
212212
elif tokens[1].lower().strip().startswith('output file'):
213213
out = OutputFile()
214214
subtokens = tokens[1].split(' ')
215-
if len(subtokens > 2):
215+
if len(subtokens) > 2:
216216
out.ext = subtokens[2]
217217
elif tokens[1].lower().strip().startswith('output directory'):
218218
out = OutputDirectory()

0 commit comments

Comments
 (0)