Skip to content
Permalink
Browse files

Merge pull request #4088 from volaya/grass_tempfile_fix

[processing] fixed grass tempfiles
  • Loading branch information
alexbruy committed Mar 2, 2017
2 parents e045b36 + ee4681d commit e84829e016ebac683ed7833529cc6f61aedf36db
Showing with 1 addition and 3 deletions.
  1. +1 −3 python/plugins/processing/algs/grass7/Grass7Algorithm.py
@@ -560,9 +560,7 @@ def exportRasterLayer(self, layer):
return command

def getTempFilename(self):
filename = 'tmp' + str(time.time()).replace('.', '') \
+ str(system.getNumExportedLayers())
return filename
return system.getTempFilename()

def commandLineName(self):
return 'grass7:' + self.name[:self.name.find(' ')]

0 comments on commit e84829e

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