Skip to content

Commit a18286f

Browse files
committed
GRASS GIS batch job needs sqlite directory to be created
1 parent 0a1382a commit a18286f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/plugins/processing/algs/grass7/Grass7Utils.py

+1
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ def createTempMapset():
208208
outfile.close()
209209

210210
Grass7Utils.writeGrass7Window(os.path.join(folder, 'PERMANENT', 'WIND'))
211+
mkdir(os.path.join(folder, 'PERMANENT', 'sqlite'))
211212
outfile = open(os.path.join(folder, 'PERMANENT', 'VAR'), 'w')
212213
outfile.write('DB_DRIVER: sqlite\n')
213214
outfile.write('DB_DATABASE: $GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db\n')

0 commit comments

Comments
 (0)