Skip to content

Commit

Permalink
Merge pull request #4088 from volaya/grass_tempfile_fix
Browse files Browse the repository at this point in the history
[processing] fixed grass tempfiles
  • Loading branch information
alexbruy committed Mar 2, 2017
2 parents e045b36 + ee4681d commit e84829e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions python/plugins/processing/algs/grass7/Grass7Algorithm.py
Expand Up @@ -560,9 +560,7 @@ def exportRasterLayer(self, layer):
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(' ')]
Expand Down

0 comments on commit e84829e

Please sign in to comment.