Fix pour Verima Python 3

This commit is contained in:
NATHALIE GORE 2018-07-12 15:10:12 +02:00
parent 1b80c8bc60
commit 7334d6f9f7

View File

@ -6,7 +6,7 @@ def writeFile( fn, txt = None):
if fn == None : return
fn = str(fn)
try:
f = open(fn, 'wb')
f = open(fn, 'w')
f.write(txt)
f.close()
return 1
@ -20,7 +20,7 @@ def readFile( fn, txt):
if fn == None : return
try:
f = open(fn, 'wb')
f = open(fn, 'w')
txt=f.read()
f.close()
except IOError: