Skip to content
Permalink
Browse files

[BUGFIX][Processing] Script: get output file extension

  • Loading branch information
rldhont committed Jan 26, 2017
1 parent 328754c commit 637b585270c07d983a86583adb2bb93191f58d24
Showing with 3 additions and 3 deletions.
  1. +3 −3 python/plugins/processing/script/ScriptAlgorithm.py
@@ -278,9 +278,9 @@ def processOutputParameterToken(self, token):
out = OutputHTML()
elif token.lower().strip().startswith('file'):
out = OutputFile()
subtokens = token.split(' ')
if len(subtokens) > 2:
out.ext = subtokens[2]
ext = token.strip()[len('file') + 1:]
if ext:
out.ext = ext
elif token.lower().strip().startswith('directory'):
out = OutputDirectory()
elif token.lower().strip().startswith('number'):

0 comments on commit 637b585

Please sign in to comment.
You can’t perform that action at this time.