Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixed minor problem in model saving
git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@272 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
  • Loading branch information
volayaf committed Jun 29, 2012
1 parent 9023443 commit 201d347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sextante/modeler/ModelerDialog.py
Expand Up @@ -217,7 +217,7 @@ def saveModel(self):
self.alg.descriptionFile = filename
if filename:
text = self.alg.serialize()
fout = codecs.open(filename, "a", encoding='utf-8')
fout = codecs.open(filename, "w", encoding='utf-8')
#fout = open(filename, "w")
fout.write(text)
fout.close()
Expand Down

0 comments on commit 201d347

Please sign in to comment.