Skip to content

Commit e84829e

Browse files
authored
Merge pull request #4088 from volaya/grass_tempfile_fix
[processing] fixed grass tempfiles
2 parents e045b36 + ee4681d commit e84829e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

python/plugins/processing/algs/grass7/Grass7Algorithm.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -560,9 +560,7 @@ def exportRasterLayer(self, layer):
560560
return command
561561

562562
def getTempFilename(self):
563-
filename = 'tmp' + str(time.time()).replace('.', '') \
564-
+ str(system.getNumExportedLayers())
565-
return filename
563+
return system.getTempFilename()
566564

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

0 commit comments

Comments
 (0)