Skip to content

Commit

Permalink
[processing] use system temporary directory as default temp dir for P…
Browse files Browse the repository at this point in the history
…rocessing outputs
  • Loading branch information
github-actions[bot] authored and nyalldawson committed Jan 9, 2020
1 parent 1a184c0 commit b02b0be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/plugins/processing/core/ProcessingConfig.py
Expand Up @@ -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,
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit b02b0be

Please sign in to comment.