Skip to content
Permalink
Browse files

[processing] use system temporary directory as default for Processing

temporary outputs (refs #33641)
  • Loading branch information
alexbruy authored and nyalldawson committed Jan 9, 2020
1 parent 3a3b430 commit 986930d28fb9447b67956ed48c17daecdd8dade1
Showing with 2 additions and 1 deletion.
  1. +2 −1 python/plugins/processing/core/ProcessingConfig.py
@@ -22,6 +22,7 @@
__copyright__ = '(C) 2012, Victor Olaya'

import os
import tempfile

from qgis.PyQt.QtCore import QCoreApplication, QObject, pyqtSignal
from qgis.core import (NULL,
@@ -170,7 +171,7 @@ def initialize():
ProcessingConfig.addSetting(Setting(
ProcessingConfig.tr('General'),
ProcessingConfig.TEMP_PATH,
ProcessingConfig.tr('Temporary output folder path'), QgsProcessingUtils.tempFolder(),
ProcessingConfig.tr('Temporary output folder path'), tempfile.gettempdir(),
valuetype=Setting.FOLDER))

@staticmethod

0 comments on commit 986930d

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