projects
/
iramuteq
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4dc1de2
)
...
author
Pierre Ratinaud
<ratinaud@univ-tlse2.fr>
Mon, 3 Nov 2014 09:00:34 +0000
(10:00 +0100)
committer
Pierre Ratinaud
<ratinaud@univ-tlse2.fr>
Mon, 3 Nov 2014 09:00:34 +0000
(10:00 +0100)
functions.py
patch
|
blob
|
history
diff --git
a/functions.py
b/functions.py
index
a26731b
..
e93f34e
100644
(file)
--- a/
functions.py
+++ b/
functions.py
@@
-253,8
+253,8
@@
class DoConf :
txt += '%s = %s\n' % (option, `parametres[i][option]`)
if outfile is None :
outfile = self.configfile
- with
codecs.open(outfile, 'w', 'utf8
') as f :
- f.write(txt)
+ with
open(outfile, 'w
') as f :
+ f.write(txt
.encode('utf8')
)
#self.conf.write(f)
def totext(self, parametres) :