Fixed character type

Version:2.0.2
This commit is contained in:
Anthony Scemama 2020-05-05 01:31:00 +02:00
parent ec1956dc99
commit e2a79a0c53
2 changed files with 3 additions and 3 deletions

View File

@ -102,7 +102,7 @@ def get_conv(type):
else:
raise TypeError
elif type == "ch":
conv = lambda x: x.strip()
conv = lambda x: x.decode('utf-8').strip()
else:
raise TypeError
return conv

View File

@ -44,7 +44,7 @@ values = []
isize = 5
EZFIO.open_read_ao_two_int()
indices,values = EZFIO.read_buffer(isize)
print indices
print values
print(indices)
print(values)
EZFIO.close_read_ao_two_int()