Merge pull request #4088 from volaya/grass_tempfile_fix

[processing] fixed grass tempfiles
This commit is contained in:
Alexander Bruy 2017-03-02 10:26:23 +02:00 committed by GitHub
commit e84829e016

View File

@ -560,9 +560,7 @@ class Grass7Algorithm(GeoAlgorithm):
return command return command
def getTempFilename(self): def getTempFilename(self):
filename = 'tmp' + str(time.time()).replace('.', '') \ return system.getTempFilename()
+ str(system.getNumExportedLayers())
return filename
def commandLineName(self): def commandLineName(self):
return 'grass7:' + self.name[:self.name.find(' ')] return 'grass7:' + self.name[:self.name.find(' ')]