[processing] fixed grass tempfiles

fixes #16128
This commit is contained in:
volaya 2017-01-31 12:41:37 +01:00
parent 8ba609e516
commit ee4681df10

View File

@ -560,9 +560,7 @@ class Grass7Algorithm(GeoAlgorithm):
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(' ')]