Skip to content
Browse files

[processing] use default models folder when adding model from file (fix


(cherry picked from commit b167c09)
  • Loading branch information
alexbruy committed Jul 25, 2016
1 parent b219f73 commit ebd5b0bc3ada82feb65d2ac3932f29b7a7c615b2
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/modeler/
@@ -69,6 +69,6 @@ def execute(self):'Error reading model', 'AddModelFromFileAction'),'Cannot read file', 'AddModelFromFileAction'))
destFilename = os.path.join(ModelerUtils.modelsFolder(), os.path.basename(filename))
destFilename = os.path.join(ModelerUtils.defaultModelsFolder(), os.path.basename(filename))
shutil.copyfile(filename, destFilename)

0 comments on commit ebd5b0b

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