decode bug : missing last zero in lua array
enjolras1205 opened this issue · 2 comments
enjolras1205 commented
from slpp import slpp as lua
print(lua.decode({0,1,0}))
set([0, 1])
should be set([0, 1, 0])
I comment line in slpp.py:154
if k:
the last zero is not missing now.
what's the purpose of this line?
SirAnthony commented
Thanks.
enjolras1205 commented
thanks for reply.
: )