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
|
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(' ')]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user