Merge remote-tracking branch 'origin/ngo/FixVerima'

This commit is contained in:
rnv 2018-07-13 09:56:41 +03:00
commit ec2b6eb2fb

View File

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