We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c628c0f commit 20a2a20Copy full SHA for 20a2a20
python/plugins/processing/script/AddScriptFromFileAction.py
@@ -65,7 +65,7 @@ def execute(self):
65
self.tr('Error reading script', 'AddScriptFromFileAction'),
66
self.tr('The selected file does not contain a valid script', 'AddScriptFromFileAction'))
67
return
68
- destFilename = os.path.join(ScriptUtils.scriptsFolder(), os.path.basename(filename))
+ destFilename = os.path.join(ScriptUtils.defaultScriptsFolder(), os.path.basename(filename))
69
with open(destFilename, 'w') as f:
70
f.write(script.script)
71
algList.reloadProvider('script')
0 commit comments