Skip to content

Commit

Permalink
[processing] fixed handling of file outputs in scripts
Browse files Browse the repository at this point in the history
Fixes #11990
  • Loading branch information
volaya committed Jan 15, 2015
1 parent 73f184e commit c54cd92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/script/ScriptAlgorithm.py
Expand Up @@ -212,7 +212,7 @@ def processParameterLine(self, line):
elif tokens[1].lower().strip().startswith('output file'):
out = OutputFile()
subtokens = tokens[1].split(' ')
if len(subtokens > 2):
if len(subtokens) > 2:
out.ext = subtokens[2]
elif tokens[1].lower().strip().startswith('output directory'):
out = OutputDirectory()
Expand Down

0 comments on commit c54cd92

Please sign in to comment.