Skip to content
Permalink
Browse files

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

  • Loading branch information
rldhont committed Jan 26, 2017
1 parent e7ff727 commit c861682dedf1c720ae5b191c7ea28ae3995d5abd
Showing with 3 additions and 3 deletions.
  1. +3 −3 python/plugins/processing/core/outputs.py
@@ -422,9 +422,9 @@ def getOutputFromString(s):
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 c861682

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