Skip to content

Commit

Permalink
[processing] fixed grass tempfiles
Browse files Browse the repository at this point in the history
fixes #16128
  • Loading branch information
volaya committed Jan 31, 2017
1 parent 8ba609e commit ee4681d
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 ee4681d

Please sign in to comment.