X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FTools%2FVerima%2FStats%2Futiles.py;h=bfedad34ad6ba5792c99b6a9de4c865b4f608a2d;hb=b4ddd97db887d6928cf2b5bbad99cc6710266487;hp=e7d2156c0fd1097fc3a1717634f4d8566bb1b648;hpb=e8173b4ff130ddb26d165c92403ef847fdfb8be2;p=modules%2Fsmesh.git diff --git a/src/Tools/Verima/Stats/utiles.py b/src/Tools/Verima/Stats/utiles.py index e7d2156c0..bfedad34a 100644 --- a/src/Tools/Verima/Stats/utiles.py +++ b/src/Tools/Verima/Stats/utiles.py @@ -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: