mirror of
https://gitlab.com/scemama/EZFIO.git
synced 2025-01-03 01:55:44 +01:00
Fixed character type
Version:2.0.2
This commit is contained in:
parent
ec1956dc99
commit
e2a79a0c53
@ -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
|
||||
|
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user