Skip to content
Permalink
Browse files

[processing][gdal] Ensure no filename clashes occur in writeLayerPara…

…meterToTextFile
  • Loading branch information
nyalldawson committed Feb 19, 2019
1 parent 342c093 commit e5a416ea11fb65ca19293de3acdd11bff7adc87d
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/gdal/GdalUtils.py
@@ -408,7 +408,7 @@ def parseCreationOptions(value):

@staticmethod
def writeLayerParameterToTextFile(filename, alg, parameters, parameter_name, context, quote=True, executing=False):
listFile = os.path.join(QgsProcessingUtils.tempFolder(), filename)
listFile = QgsProcessingUtils.generateTempFilename(filename)
with open(listFile, 'w') as f:
if executing:
layers = []

0 comments on commit e5a416e

Please sign in to comment.
You can’t perform that action at this time.