mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-11 16:19:16 +05:00
Merge remote-tracking branch 'origin/ngo/FixVerima'
This commit is contained in:
commit
ec2b6eb2fb
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user