From 7334d6f9f730dbc036260248ac60d8a43855bbd0 Mon Sep 17 00:00:00 2001 From: NATHALIE GORE Date: Thu, 12 Jul 2018 15:10:12 +0200 Subject: [PATCH] Fix pour Verima Python 3 --- src/Tools/Verima/Stats/utiles.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: -- 2.39.2