mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Merge pull request #4088 from volaya/grass_tempfile_fix
[processing] fixed grass tempfiles
This commit is contained in:
commit
e84829e016
@ -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(' ')]
|
||||
|
Loading…
x
Reference in New Issue
Block a user