Skip to content
Permalink
Browse files

[processing] use system temporary directory as default temp dir for P…

…rocessing outputs
  • Loading branch information
github-actions authored and nyalldawson committed Jan 9, 2020
1 parent 1a184c0 commit b02b0be041519af2341542cb5f16364740afbcf9
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 b02b0be

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