Skip to content
Permalink
Browse files

Fix set of grass command if not set yet

  • Loading branch information
luipir committed Sep 13, 2018
1 parent 23f1e43 commit 0f07c41b197a216914ce6ce5a2e5278eca8fe9f7
Showing with 3 additions and 0 deletions.
  1. +3 −0 python/plugins/processing/algs/grass7/Grass7Utils.py
@@ -330,6 +330,9 @@ def prepareGrassExecution(commands):
Prepare GRASS batch job in a script and
returns it as a command ready for subprocess.
"""
if Grass7Utils.command is None:
Grass7Utils.grassBin()

env = os.environ.copy()
env['GRASS_MESSAGE_FORMAT'] = 'plain'
if 'GISBASE' in env:

0 comments on commit 0f07c41

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