mirror of https://gitlab.com/scemama/EZFIO.git
parent
ec1956dc99
commit
e2a79a0c53
|
@ -102,7 +102,7 @@ def get_conv(type):
|
||||||
else:
|
else:
|
||||||
raise TypeError
|
raise TypeError
|
||||||
elif type == "ch":
|
elif type == "ch":
|
||||||
conv = lambda x: x.strip()
|
conv = lambda x: x.decode('utf-8').strip()
|
||||||
else:
|
else:
|
||||||
raise TypeError
|
raise TypeError
|
||||||
return conv
|
return conv
|
||||||
|
|
|
@ -44,7 +44,7 @@ values = []
|
||||||
isize = 5
|
isize = 5
|
||||||
EZFIO.open_read_ao_two_int()
|
EZFIO.open_read_ao_two_int()
|
||||||
indices,values = EZFIO.read_buffer(isize)
|
indices,values = EZFIO.read_buffer(isize)
|
||||||
print indices
|
print(indices)
|
||||||
print values
|
print(values)
|
||||||
EZFIO.close_read_ao_two_int()
|
EZFIO.close_read_ao_two_int()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue