add missing list conversion

This commit is contained in:
Christophe Romain 2013-06-24 18:05:42 +02:00
parent 3976351c4d
commit 1cb03439f2
1 changed files with 1 additions and 1 deletions

View File

@ -1245,7 +1245,7 @@ get_items(NodeId, From, none) ->
of
{selected, [<<"val">>], [[Value]]} ->
Tokens = element(2,
erl_scan:string(<<Value/binary, ".">>)),
erl_scan:string(binary_to_list(<<Value/binary, ".">>))),
element(2, erl_parse:parse_term(Tokens));
_ -> ?MAXITEMS
end,