Skip to content
Permalink
Browse files

Merge pull request #2262 from neteler/patch-72

[processing] Update Grass7Utils.py
  • Loading branch information
volaya committed Aug 20, 2015
2 parents b578fc1 + 424d3d3 commit bf7cf6ac6b382376556eb624a8a58374613bbf84
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/processing/algs/grass7/Grass7Utils.py
@@ -142,7 +142,7 @@ def createGrass7Script(commands):
output.write('set GISBASE=' + folder + '\n')
output.write('set GRASS_PROJSHARE=' + folder + os.sep + 'share'
+ os.sep + 'proj' + '\n')
output.write('set GRASS_MESSAGE_FORMAT=gui\n')
output.write('set GRASS_MESSAGE_FORMAT=plain\n')

# Replacement code for etc/Init.bat
output.write('if "%GRASS_ADDON_PATH%"=="" set PATH=%WINGISBASE%\\bin;%WINGISBASE%\\lib;%PATH%\n')
@@ -247,7 +247,7 @@ def prepareGrass7Execution(commands):
else:
gisrc = userFolder() + os.sep + 'processing.gisrc7'
env['GISRC'] = gisrc
env['GRASS_MESSAGE_FORMAT'] = 'gui'
env['GRASS_MESSAGE_FORMAT'] = 'plain'
env['GRASS_BATCH_JOB'] = Grass7Utils.grassBatchJobFilename()
del env['GISBASE']
Grass7Utils.createGrass7BatchJobFileFromGrass7Commands(commands)

0 comments on commit bf7cf6a

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