[processing] fix variable name

This commit is contained in:
Salvatore Larosa 2018-02-17 16:50:37 +01:00
parent f31ba78ccd
commit a8a449f8c1

View File

@ -59,7 +59,7 @@ class AddScriptFromFileAction(ToolboxAction):
shutil.copy(f, ScriptUtils.scriptsFolders()[0])
valid += 1
except OSError as e:
QgsMessageLog.logMessage("Could not copy script '{}'\n{}".format(s, str(e)),
QgsMessageLog.logMessage("Could not copy script '{}'\n{}".format(f, str(e)),
"Processing",
Qgis.Warning)