From: NATHALIE GORE Date: Thu, 12 Jul 2018 13:10:12 +0000 (+0200) Subject: Fix pour Verima Python 3 X-Git-Tag: SHAPER_V9_1_0RC1~17^2~4^2 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=commitdiff_plain;h=7334d6f9f730dbc036260248ac60d8a43855bbd0 Fix pour Verima Python 3 --- 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: