We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5489f85 commit 2c188b2Copy full SHA for 2c188b2
python/plugins/processing/algs/grass7/ext/r_reclass.py
@@ -26,6 +26,9 @@
26
__revision__ = '$Format:%H$'
27
28
29
+from processing.tools.system import getTempFilename
30
+
31
32
def checkParameterValuesBeforeExecuting(alg):
33
""" Verify if we have the right parameters """
34
if alg.getParameterValue(u'rules') and alg.getParameterValue(u'txtrules'):
@@ -39,7 +42,7 @@ def processCommand(alg):
39
42
txtRules = alg.getParameterValue(u'txtrules')
40
43
if txtRules:
41
44
# Creates a temporary txt file
- tempRulesName = alg.getTempFilename()
45
+ tempRulesName = getTempFilename()
46
47
# Inject rules into temporary txt file
48
with open(tempRulesName, "w") as tempRules:
0 commit comments