Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 bf7cf6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/algs/grass7/Grass7Utils.py
Expand Up @@ -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')
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit bf7cf6a

Please sign in to comment.