Skip to content

Commit

Permalink
Fix too-many-format-args
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Oct 16, 2017
1 parent d793f6c commit 6538ba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/grass7/ext/i.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def multipleOutputDir(alg, field, basename=None):
commands = ["for r in $(g.list type=rast pattern='{}*'); do".format(basename)]
# Otherwise, export everything
else:
commands = ["for r in $(g.list type=rast); do".format(basename)]
commands = ["for r in $(g.list type=rast); do"]
commands.append(" r.out.gdal -c -t -f input=${{r}} output={}/${{r}}.tif createopt=\"TFW=YES,COMPRESS=LZW\"".format(outputDir))
commands.append("done")
alg.commands.extend(commands)
Expand Down

0 comments on commit 6538ba0

Please sign in to comment.